# CVE-2026-30971: ZoneMinder: Authenticated RCE via command injection in monitor Device Path

- 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): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-16T19:40:51.681Z
- Modified: 2026-10-16T20:17:23.320Z
- Weaknesses: CWE-78
- 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. Prior to 1.39.2, 1.38.2, and 1.36.40, ZoneMinder interpolates an unvalidated monitor Device field into shell commands in PHP and Perl control paths when an authenticated user with monitor-create or monitor-edit permission saves a Local monitor whose Device Path contains shell metacharacters and the monitor control or startup path runs. In this attack mechanism, the stored Device value reaches Perl qx() and backtick execution before zmdc.pl argument detainting, while separate PHP command paths use bypassable escapeshellcmd defenses. The attacker can execute arbitrary commands as the web server user. This vulnerability is fixed in 1.39.2, 1.38.2, and 1.36.40.

(As written by CVE List.)

## Affected

- ZoneMinder zoneminder: < 1.36.40; >= 1.38.0, < 1.38.2; >= 1.39.0, < 1.39.2

## References

- <https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-g66m-77fq-79v9> (exploit)
- <https://github.com/ZoneMinder/zoneminder/commit/419846c8750c3f45b9b8a1df8cd49c189a14dc03>

## Sources

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

---

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