CVE-2026-27470 ZoneMinder: Second-Order SQL Injection in `getNearEvents()` via Stored Event Name and Cause Fields
Authenticated users can execute arbitrary SQL queries via stored event fields in ZoneMinder, potentially accessing or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-27470?
CVE-2026-27470 is a high-severity SQL injection vulnerability in Zoneminder Zoneminder, published on 21 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
ZoneMinder is a free, open source closed-circuit television software application. In versions 1.36.37 and below and 1.37.61 through 1.38.0, there is a second-order SQL Injection vulnerability in the web/ajax/status.php file within the getNearEvents() function. Event field values (specifically Name and Cause) are stored safely via parameterized queries but are later retrieved and concatenated directly into SQL WHERE clauses without escaping. An authenticated user with Events edit and view permissions can exploit this to execute arbitrary SQL queries.
Weakness: CWE-89
Which versions are affected by CVE-2026-27470?
It affects 1 product.
Products include Zoneminder Zoneminder.
How do I fix CVE-2026-27470?
No fix has been published for CVE-2026-27470 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-27470 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27470 exists.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Zoneminder Zoneminder
Sources
Also known as DEBIAN-CVE-2026-27470, GHSA-r6gm-478g-f2c4, UBUNTU-CVE-2026-27470.