Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2026-27470 EUVD-2026-7719

ZoneMinder: Second-Order SQL Injection in `getNearEvents()` via Stored Event Name and Cause Fields

Published Feb 21, 2026 · Updated Feb 24, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
ZoneMinder zoneminder < 1.36.38, >= 1.37.61, < 1.38.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 zoneminder No fix yet —
Debian 13 zoneminder No fix yet —
Debian 12 zoneminder No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 zoneminder No fix yet —
Ubuntu 26.04 LTS zoneminder No fix yet —
Ubuntu 25.10 zoneminder No fix yet —
Ubuntu 24.04 LTS zoneminder No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS zoneminder No fix yet —
Ubuntu Pro 20.04 LTS zoneminder No fix yet —
Ubuntu Pro 16.04 LTS zoneminder No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 zoneminder 1.38.1-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • kocaemre/CVE-2026-27470 ★ 6 · Feb 21, 2026

    ZoneMinder Second-Order SQL Injection PoC — CVE-2026-27470

  • d3vn0mi/CVE-2026-27470-POC ★ 0 · Mar 13, 2026

    Python PoC for CVE-2026-27470, authenticated second-order SQL injection in ZoneMinder's getNearEvents() (status.php), CVSS 8.8

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References