Description
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.
Published: 2026-08-14
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability originates from missing input validation in the queryDatabase function within ai.php of the Emlog content management system. The flaw permits an attacker to inject malicious SQL commands through user‑controlled parameters, enabling arbitrary execution against the database and potentially exposing, modifying, or deleting critical data. The weakness is categorized as CWE‑89 and carries a CVSS score of 8.6, indicating high risk to confidentiality, integrity, and availability of the underlying database.

Affected Systems

Emlog versions 2.6.20 and earlier are affected. Administrators should verify that their installation’s version is 2.6.20 or lower; any instance that deploys ai.php and accepts external input is vulnerable. No other vendors or product versions are listed as impacted in the CNA data.

Risk and Exploitability

The CVSS score of 8.6 denotes strong exploitation potential, but the EPSS score is not available, so the current likelihood of exploitation cannot be quantified. The vulnerability is not in the CISA KEV catalog. Based on the description, the likely attack vector is a web request to ai.php carrying crafted query parameters that are passed directly into SQL statements. Successful exploitation could lead to complete database compromise.

Generated by OpenCVE AI on August 14, 2026 at 19:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Emlog to a version newer than 2.6.20 where the queryDatabase function has been fixed.
  • If an upgrade is not immediately possible, restrict access to ai.php through web‑server configuration or a firewall so that only trusted IP addresses or internal networks can reach the file.
  • Implement input validation or replace the query formulation with prepared statements for all parameters that reach the queryDatabase function as a temporary safeguard.
  • If ai.php is not required for your deployment, consider disabling or removing the file to eliminate the attack surface.

Generated by OpenCVE AI on August 14, 2026 at 19:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Emlog
Emlog emlog
Vendors & Products Emlog
Emlog emlog

Fri, 14 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Emlog: Arbitrary SQL Execution Vulnerability in ai.php within queryDatabase() Function
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 8.6, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T18:09:50.367Z

Reserved: 2026-08-13T17:44:28.644Z

Link: CVE-2026-73850

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T18:19:10.137

Modified: 2026-08-17T19:16:42.313

Link: CVE-2026-73850

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T19:45:16Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')