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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-21T08:05:01.073Z
- Modified: 2026-06-17T10:27:12.420Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- ZoneMinder zoneminder: < 1.36.38; >= 1.37.61, < 1.38.1; before 1.36.38; from 1.37.61 before 1.38.1

## 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)

## Sources

- CVE List: [CVE-2026-27470](https://www.cve.org/CVERecord?id=CVE-2026-27470), CVE Terms of Use, modified 2026-02-24
- NVD: [CVE-2026-27470](https://nvd.nist.gov/vuln/detail/CVE-2026-27470), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27470 · Whole record: https://cve.day/CVE-2026-27470.json · Rebuilt by cve.day 2026-11-25T22:59:14.609Z
