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.
Published: 2026-10-16
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

ZoneMinder versions prior to 1.39.2, 1.38.2, and 1.36.40 allow an authenticated user with monitor-create or monitor-edit rights to embed shell metacharacters in a monitor’s Device Path field. This value is later interpolated into shell commands in PHP and Perl control paths, creating a command injection flaw (CWE-78). The flaw permits arbitrary command execution as the web server user, representing a high‑risk remote code execution vulnerability.

Affected Systems

The vulnerability affects ZoneMinder software distributed by the ZoneMinder community. All releases before 1.39.2, before 1.38.2, and before 1.36.40 are impacted. Users running these versions should verify their installation against the references and upgrade accordingly.

Risk and Exploitability

With a CVSS score of 8.8, the exploit presents a significant security risk; EPSS data is not available, and the flaw is not currently listed in CISA KEV. The attack vector requires an authenticated session with sufficient permissions to edit or create monitors; the attacker must supply a Device Path containing shell characters, cause the monitor control or startup path to execute, and then the arbitrary commands run under the web server user. No post‑deployment network exposure is necessary beyond web access.

Generated by OpenCVE AI on October 16, 2026 at 21:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ZoneMinder to version 1.39.2, 1.38.2, or 1.36.40, or any later release that includes the fix.
  • If an upgrade is not immediately possible, restrict the Device Path input to safe alphanumeric characters and underscores and enforce application‑level input validation to prevent shell metacharacters.
  • Limit monitor‑create and monitor‑edit permissions to trusted administrators only, reducing the number of users who can supply malicious Device Path values.

Generated by OpenCVE AI on October 16, 2026 at 21:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title ZoneMinder: Authenticated RCE via command injection in monitor Device Path
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T19:57:11.752Z

Reserved: 2026-03-07T17:53:48.815Z

Link: CVE-2026-30971

cve-icon Vulnrichment

Updated: 2026-10-16T19:57:04.640Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T20:17:23.190

Modified: 2026-10-16T20:17:23.320

Link: CVE-2026-30971

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T21:30:14Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')