Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privilege Emlog credentials
-
DeliverySend crafted HTTP request to ai.php
-
ExploitInject malicious SQL into queryDatabase parameter
-
ExecutionExecute attacker-controlled query against database
-
ImpactExtract or modify sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid high-privilege account on the target Emlog instance, consistent with the CVSS 4.0 PR:H metric. The vulnerable code path is within ai.php, implying the AI feature must be present and accessible in the installation. No special network conditions are required beyond standard HTTP/HTTPS access to the application (AV:N, AC:L, AT:N). Limiting factors are: authenticated high-privilege access is mandatory; unauthenticated or low-privilege users cannot reach the vulnerable function based on available data. Deployments that restrict admin-panel access by IP, enforce MFA on privileged accounts, or have not enabled the AI feature module present a materially reduced attack surface. |
| Impact | The CVSS 4.0 base score of 8.6 reflects high CIA impact, but the PR:H metric is a meaningful constraint: exploitation is limited to accounts with elevated privileges on the Emlog installation, substantially narrowing the attacker pool compared to an unauthenticated SQLi. No EPSS score was supplied, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed active exploitation. No POC code has been identified. The combination of these signals suggests this is a real but operationally constrained risk - most dangerous in scenarios where Emlog admin credentials are already compromised or where multiple users share high-privilege roles. SSVC exploitation status is 'none' based on available data, automatable is 'no' given the required authentication barrier, and technical impact is 'total' on the vulnerable system's database. The net assessment is: patches should be applied promptly, but this does not represent an immediate emergency for well-access-controlled deployments. |
| Exploit ScenarioDerived | An attacker who holds or has stolen high-privilege Emlog credentials navigates to the ai.php endpoint and submits a crafted payload in a parameter passed to queryDatabase, injecting malicious SQL to enumerate, extract, or modify database contents - including credential hashes for all users. No public POC has been identified, but the vulnerability class (CWE-89 in a PHP application) is well-understood and straightforward to exploit once access is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
SQL injection in Emlog 2.6.20 and earlier exposes the database to full compromise through the queryDatabase function in ai.php, a component of the platform's AI feature set. The CVSS 4.0 vector (PR:H) confirms exploitation requires high-privilege authenticated access, yet the resulting impact is rated High across confidentiality, integrity, and availability of the vulnerable system. No public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
Upgrade Emlog to a version later than 2.6.20 as the primary remediation; the exact patched release version is not independently confirmed from the available data - consult the vendor advisory at https://github.com/emlog/emlog/security/advisories/GHSA-jffg-rpvp-2qx7 for the specific fixed version. As a compensating control where immediate upgrade is not possible, restrict access to ai.php at the web server or WAF layer to prevent the endpoint from being reached, noting this disables the AI feature entirely. Additionally, audit and reduce the number of accounts holding high-privilege roles in Emlog to minimize the attacker surface. Enforce strong, unique passwords for all administrator accounts and consider IP-allowlisting the admin panel. Each of these workarounds reduces exposure but does not eliminate the underlying flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Emlog is a PHP-based open-source CMS and blog platform. The vulnerability resides in the queryDatabase function within ai.php, which appears to handle database queries for an AI-related feature. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) indicates that user-controlled input is concatenated or interpolated into a SQL query without adequate parameterization or escaping, allowing an attacker to alter query logic. PHP applications that construct raw SQL strings rather than using prepared statements with bound parameters are classic CWE-89 candidates. No CPE string was provided in the intelligence data; affected scope is inferred as Emlog versions up to and including 2.6.20.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable endpoint but PR:H required per CVSS 4.0 source vector; full CIA impact on the vulnerable system's database with no scope change.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
Emlog is an open source website building system. In 2.6.20 and earlier, there is a SQL injection vulnerability in the queryDatabase function in ai.php.
Executive ViewAI
Emlog versions 2.6.20 and earlier contain a SQL injection vulnerability in the AI feature's database query function requiring authenticated access with high privilege level, allowing full database compromise. No public exploit has been identified at time of analysis, but organizations using these versions face potential data exposure and unauthorized modification by privileged insiders or through compromised administrator accounts. Database integrity and confidentiality are at risk with no currently available vendor patch.
No vendor-released patch identified at time of analysis. Implement interim controls: restrict AI feature access to essential administrators only; deploy database-level connection limits from the vulnerable ai.php component; enable query logging and alerting for anomalous SQL; consider disabling the AI feature entirely until vendor provides patched release; implement network segmentation to limit lateral movement if administrator account is compromised.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-58746
NVD
CVE.org
EPSS
GitHub
Exploit-DB