6.8
MEDIUM CVSS 3.1
CVE-2026-73847
Emlog: Missing CSRF protection in AI Assistant execute_tool leads to full database compromise and admin account takeover
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.

INFO

Published Date :

Aug. 14, 2026, 6:19 p.m.

Last Modified :

Aug. 14, 2026, 8:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-73847 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM MITRE-CVE
Solution
Implement CSRF protection and SameSite cookie attribute for secure administrative actions.
  • Add CSRF tokens to all state-changing requests.
  • Set SameSite attribute on authentication cookies.
  • Validate all user inputs rigorously.
  • Review and restrict database write operations.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-73847.

URL Resource
https://github.com/emlog/emlog/security/advisories/GHSA-v6wr-4x55-7qp5
https://github.com/emlog/emlog/security/advisories/GHSA-v6wr-4x55-7qp5
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-73847 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-73847 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-73847 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 14, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/emlog/emlog/security/advisories/GHSA-v6wr-4x55-7qp5
    Added SSVC {'id': 'CVE-2026-73847', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-14T19:28:43.567533Z'}
  • New CVE Received by [email protected]

    Aug. 14, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'emlog', 'product': 'emlog', 'versions': [{'status': 'affected', 'version': '<= 2.6.26'}]}]
    Added 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.
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
    Added CWE CWE-352
    Added CWE CWE-798
    Added CWE CWE-1275
    Added Reference https://github.com/emlog/emlog/security/advisories/GHSA-v6wr-4x55-7qp5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.