CVE-2026-42287 Emlog: SQL Injection Vulnerability in log_model.php within addLog() and updateLog() Functions
Attackers can execute arbitrary SQL commands via article creation and update functions, leading to database compromise or data theft in Emlog.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-42287?
CVE-2026-42287 is a critical SQL injection vulnerability in emlog, published on 8 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and update functions allows attackers to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or system destruction. This issue has been patched in version 2.6.11.
Weakness: CWE-89
Which versions are affected by CVE-2026-42287?
How do I fix CVE-2026-42287?
No fix has been published for CVE-2026-42287 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-42287 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42287 exists.
Sources
Also known as GHSA-xxj8-fc63-j3gw.