What’s Vulnerable › Vulnerabilities
CVE-2026-27470: ZoneMinder: Second-Order SQL Injection in `getNearEvents()` via Stored Event Name and Cause Fields
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-21 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- zoneminder: before 1.36.38; from 1.37.61 before 1.38.1 — fixed in 1.36.38, 1.38.1
How to fix
Upgrade to a fixed version: zoneminder 1.36.38, 1.38.1. Check the vendor advisory for mitigations.
References
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.36.38
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.1
- https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-r6gm-478g-f2c4
- https://owasp.org/www-community/attacks/SQL_Injection
Get alerted when CVE-2026-27470 or the next vulnerability affects your stack