SQL Injection in Zoneminder
CVE-2026-27470
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 45.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Zoneminder — versions < 1.36.38, >= 1.37.61, < 1.38.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- kocaemre/CVE-2026-27470 (6 stars, last pushed 2026-02-22): ZoneMinder Second-Order SQL Injection PoC — CVE-2026-27470
- d3vn0mi/CVE-2026-27470-POC (last pushed 2026-03-13): Python PoC for CVE-2026-27470, authenticated second-order SQL injection in ZoneMinder's getNearEvents() (status.php), CVSS 8.8
References
- https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-r6gm-478g-f2c4 (Exploit, Mitigation, Vendor Advisory)
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.36.38 (Product, Release Notes)
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.1 (Product, Release Notes)
- https://owasp.org/www-community/attacks/SQL_Injection (Not Applicable)
This CVE has public exploit evidence. See the latest CVEs with public exploits.