CVE-2026-73850 Emlog: Arbitrary SQL Execution Vulnerability in ai.php within queryDatabase() Function

High 8.6 Published Updated

Attackers can execute arbitrary SQL commands via the queryDatabase function in ai.php, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-73850?

CVE-2026-73850 is a high-severity SQL injection vulnerability in emlog, published on 14 Aug 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2026-73850?

How do I fix CVE-2026-73850?

No fix has been published for CVE-2026-73850 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-73850 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73850 exists.

Sources

Also known as GHSA-jffg-rpvp-2qx7.

Is CVE-2026-73850 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free