CVE-2026-73847
published medium CVSS 3.1 · 6.8Emlog: Missing CSRF protection in AI Assistant execute_tool leads to full database compromise and admin account takeover
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| emlog | — | emlog<= 2.6.26 | Affected | Not stated | GitHub_M |
Description
Emlog is an open source website building system. In 2.6.26 and earlier, missing CSRF protection on the AI Assistant execute_tool action in admin/ai.php lets a remote unauthenticated attacker submit a forged cross-site request from an attacker-controlled page to a recently logged-in administrator. The authentication cookie set in include/lib/loginauth.php has no explicit SameSite attribute, enabling Chrome's temporary Lax+POST grace window. The query_database case passes attacker-controlled sql and confirm_code values to Ai::queryDatabase in include/service/ai.php; read queries need no confirmation, write queries accept the public confirm string, only the blog table is write-protected, and aliasing password as pwd_hash bypasses output redaction. A successful request can read every database table and write every table except blog, including changing the user table to take over an administrator account. No fixed version is available as of this review.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| emlog | emlog | <= 2.6.26 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)
- CWE-798 CWE-798: Use of Hard-coded Credentials
- CWE-1275 CWE-1275: Sensitive Cookie with Improper SameSite Attribute
References
1Provider assertions
2GitHub_M · cna
Emlog: Missing CSRF protection in AI Assistant execute_tool leads to full database compromise and admin account takeover
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 36c081021bacd03f754dfc3fb6ea3d8e953542fc5efe981600668fcbef060bc8
- Ingested
- 23 Sep 2026, 09:31:05 UTC
- Source record
- Official CVE record