Vulnerability · Published Feb 21, 2026 · Assigned by GitHub_M
CVE-2026-27470ZoneMinder: Second-Order SQL Injection in `getNearEvents()` via Stored Event Name and Cause Fields
High 8.8
In plain English
A high-severity SQL injection in zoneminder from ZoneMinder. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | zoneminder | 1.38.1-r0 | ALPINE-CVE-2026-27470 |
| Debian:12 | zoneminder | no fix listed | DEBIAN-CVE-2026-27470 |
| Debian:13 | zoneminder | no fix listed | DEBIAN-CVE-2026-27470 |
| Debian:14 | zoneminder | no fix listed | DEBIAN-CVE-2026-27470 |
| Ubuntu:24.04:LTS | zoneminder | no fix listed | UBUNTU-CVE-2026-27470 |
| Ubuntu:25.10 | zoneminder | no fix listed | UBUNTU-CVE-2026-27470 |
| Ubuntu:26.04:LTS | zoneminder | no fix listed | UBUNTU-CVE-2026-27470 |
| Ubuntu:26.10 | zoneminder | no fix listed | UBUNTU-CVE-2026-27470 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ZoneMinder | zoneminder | < 1.36.38>= 1.37.61, < 1.38.1 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-r6gm-478g-f2c4 x_refsource_CONFIRM
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.36.38 x_refsource_MISC
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.1 x_refsource_MISC
- https://owasp.org/www-community/attacks/SQL_Injection x_refsource_MISC