Prior to 1.38.3, downloadEvents() manually wraps a monitor Name value in single quotes instead of using escapeshellarg() before placing it in shell… (CVE-2026-102608)
Description
ZoneMinder versions prior to 1.38.3 contain a command injection vulnerability in the downloadEvents() function. This occurs because the monitor Name value is manually wrapped in single quotes instead of using a proper escaping function before being used in shell commands. An attacker with monitor-create or monitor-edit permissions can store a monitor Name containing shell metacharacters, which can then be exploited by a user with Events View permission exporting events. This allows arbitrary command execution as the web server user. The issue is fixed in version 1.38.3.
CVSS v3.1
Score 9.0critical
Affected software
pkg:github/zoneminder/zoneminderRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ZoneMinder before version 1.38.3 has a command injection vulnerability (CVE-2026-102608) in the downloadEvents() function. The vulnerability arises because the monitor Name value is manually wrapped in single quotes rather than properly escaped using escapeshellarg() before being incorporated into shell commands. This flaw allows an attacker who can create or edit monitors to inject shell metacharacters into the monitor Name. When a user with Events View permission exports events for that monitor, the crafted Name value is passed to both ffmpeg concatenation and archive commands (tar or zip), breaking out of the manual quoting and enabling arbitrary command execution with the privileges of the web server user. The vulnerability is addressed in ZoneMinder version 1.38.3.
Potential Impact
Successful exploitation allows an attacker with limited permissions (monitor-create or monitor-edit) to execute arbitrary shell commands as the web server user when another user with Events View permission exports events. This can lead to full compromise of the web server environment, including confidentiality, integrity, and availability impacts as indicated by the CVSS score of 9.0 (critical).
Mitigation Recommendations
Upgrade ZoneMinder to version 1.38.3 or later, where this vulnerability is fixed by properly escaping shell arguments. Until upgrading, restrict monitor-create and monitor-edit permissions to trusted users only to reduce risk. No other official fixes or temporary mitigations are documented.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-v9cj-6fp2-33q4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-102608"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6ad2aed92cdf04f656454ba3
Added to database: 10/16/2026, 23:10:17 UTC
Last enriched: 10/16/2026, 23:12:31 UTC
Last updated: 10/17/2026, 00:28:13 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.