CVE-2026-27470: ZoneMinder: Second-Order SQL Injection in `getNearEvents()` via Stored Event Name and Cause Fields
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-27470?
The severity of CVE-2026-27470 is classified as high due to its potential impact on the security of affected ZoneMinder versions.
How do I fix CVE-2026-27470?
To fix CVE-2026-27470, upgrade to ZoneMinder version 1.36.38 or 1.38.1 or later.
What are the affected versions for CVE-2026-27470?
CVE-2026-27470 affects ZoneMinder versions 1.36.37 and below as well as versions 1.37.61 through 1.38.0.
What type of vulnerability is CVE-2026-27470?
CVE-2026-27470 is identified as a second-order SQL Injection vulnerability.
What components of ZoneMinder does CVE-2026-27470 affect?
CVE-2026-27470 affects the 'getNearEvents()' function via stored Event Name and Cause fields.