Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any ZoneMinder account
-
DeliveryPoison ZM_PATH_FFMPEG via configs/edit API
-
ExploitRequest frame extraction to reach exec() sink
-
ExecutionExecute arbitrary commands as web server user
-
ImpactDrop web shell for persistence and data theft
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated ZoneMinder account of ANY privilege level - including View-only - because ConfigsController::edit() fails to enforce the System=Edit authorization requirement and its system-variable protection is ineffective (the Config.System column referenced by the guard does not exist in the schema). Concretely, the attacker needs: (1) network access to the API endpoint /api/configs/edit/{name}.json, (2) any logged-in session, and (3) the ability to subsequently request frame extraction via the image view to hit the exec() sink that consumes ZM_PATH_FFMPEG. This works against default configurations - no special feature toggle is needed. The primary LIMITING factor is the authentication requirement (PR:L): fully anonymous, unauthenticated exploitation is NOT possible, so exposure depends on how freely accounts are provisioned and whether the API is network-reachable. |
| Impact | This is a genuine top-priority issue, not an inflated high-CVSS score. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.9) is internally consistent with the mechanism: a network-reachable API, low attack complexity, and only a low-privilege authenticated account (the advisory confirms even a 'View-only' user qualifies) yield scope-changing arbitrary command execution. The vuln.today decision label is act_now, and the vendor GHSA advisory rates it Critical with a working proof-of-concept, so the signals align toward urgent action. The key offsetting factor is the PR:L authentication requirement: exploitation needs a valid ZoneMinder credential, which bounds this to environments where an attacker can obtain or is granted any account - narrowing it from fully anonymous internet-wide exploitation. No EPSS score and no CISA KEV entry are provided in the input, so probabilistic exploitation likelihood and confirmed active exploitation cannot be assessed from available data; absence of KEV means this should be treated as not-yet-confirmed-exploited rather than safe. One data conflict to verify: the CVE description and release tag cite 1.38.4 as the fix, while the supplied patch/package evidence states fixed-in 1.38.2 and 1.36.39 - reconcile the exact fixed version with the vendor before closing out. |
| Exploit ScenarioDerived | A low-privilege authenticated ZoneMinder user (even a view-only account) sends a POST to /api/configs/edit/ZM_PATH_FFMPEG.json setting the FFmpeg path to a command-bearing value such as a payload that writes a PHP web shell into the writable cache directory. The attacker then requests a monitor frame (e.g. index.php?view=image&eid=1&fid=1), which invokes the poisoned constant in an exec() sink in web/views/image.php or web/includes/Event.php, executing the injected command as the web server user. A detailed public PoC exists in the vendor GHSA advisory; attack complexity is low and no user interaction is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Authenticated users of ZoneMinder - including accounts with only View-only privileges - can escalate to arbitrary command execution on the web server through the CakePHP API endpoint /api/configs/edit/{name}.json. Because ConfigsController::edit() never enforces the System=Edit authorization requirement and the guard's expected Config.System schema column does not exist, any logged-in session can rewrite protected settings such as ZM_PATH_FFMPEG to a command-bearing value that is later passed unsanitized into exec() when frame extraction is requested via the image view. The vendor advisory discloses a proof-of-concept request sequence; that PoC is not verified here as working exploit code, and the practical limiting factor is the need for a valid account plus network reachability of the API, not any special feature toggle.
RemediationAI
Upgrade ZoneMinder to 1.38.4 or later, the version named as the fix in the vendor advisory and the 1.38.4 release tag; the advisory package metadata also identifies 1.38.2 and 1.36.39 as fixed for their branches, and the release-1.38 backport (commit bbb03d2d0) plus the Config.System guard commit b036408a5 correct the broken $user['System'] check in ConfigsController::edit() and viewByName(). Confirm the upgrade source against https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-mvj8-mqqq-2w5f, https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.4 and the fix pull request https://github.com/ZoneMinder/zoneminder/pull/4987 before deploying. If upgrading immediately is not possible, apply compensating controls that target the assessed prerequisite - the requirement for a valid session of any privilege level plus reachability of /api/configs/edit/{name}.json - by restricting the API endpoint to trusted administrative networks and reviewing which accounts on the instance can authenticate at all, since View-only accounts are sufficient to exploit this; both measures narrow exposure without repairing the missing authorization check, so they do not remove the need to patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ZoneMinder is a PHP closed-circuit television application whose web tier ships a CakePHP-based REST API under web/api. The flaw is CWE-862 (Missing Authorization): ConfigsController::edit() and viewByName() compute $canEdit from ($user['System'] == 'Edit'), but $user is a ZM\User object, so the array-style access fails and the System=Edit gate never actually functions; additionally, the underlying system-variable protection depends on a Config.System column that is not present in the Config table schema, so every configuration row - including system-scoped ones - is editable by any authenticated user. ZoneMinder consumes the ZM_PATH_FFMPEG configuration value directly inside exec() calls in web/views/image.php and web/includes/Event.php without sanitizing the path, turning configuration write access into a command-injection sink triggered by requesting frame extraction. The upstream fix (PR #4987, master commit 2f57a4f60, release-1.38 backport bbb03d2d0, with the RCE guard commit b036408a5) replaces the broken array access with the $user->System() method so the System=Edit check and the Config.System column protection take effect. The trigger path is stated in the advisory (poison ZM_PATH_FFMPEG, then request the image view); no other preconditions are documented.
Know when Zoneminder gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network API with low complexity and no interaction; any authenticated low-privilege account suffices (PR:L); authorization bypass yields OS command execution beyond the app's authority (S:C) with full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.4, any authenticated user can use the /api/configs/edit/{name}.json endpoint to modify protected configuration settings because ConfigsController::edit() does not enforce the System=Edit authorization requirement and its system-variable protection is ineffective. An attacker can set ZM_PATH_FFMPEG to a command-bearing value and trigger an exec() sink in web/views/image.php or web/includes/Event.php by requesting frame extraction. This permits arbitrary command execution with the privileges of the web server user and can expose private camera feeds, recordings, and database data or establish persistence. This issue is fixed in version 1.38.4.
Articles & Coverage 1
Technical POC Analysis
The bug is missing authorization, CWE-862, in ZoneMinder's CakePHP API.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
ZoneMinder contains a critical privilege escalation flaw allowing any authenticated user, even those with view-only access, to execute arbitrary commands on the web server. This affects all organizations using ZoneMinder, potentially leading to full system compromise and data breach, requiring immediate leadership attention.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Zoneminder
View allincludes/functions.php in ZoneMinder Video Server 1.24.0, 1.25.0, and earlier allows remote attackers to execute arbitra
ZoneMinder is a free, open source Closed-circuit television software application for Linux which supports IP, USB and An
ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Rated critical severity (CVSS 9.8), this
Multiple directory traversal vulnerabilities in ZoneMinder 1.24.x before 1.24.4 allow remote attackers to read arbitrary
Information disclosure and authentication bypass vulnerability exists in the Apache HTTP Server configuration bundled wi
Command injection in ZoneMinder v1.36.34 video surveillance system via web/views/image.php. Unsanitized user input enabl
SQL injection vulnerability in Zoneminder 1.30 and earlier allows remote attackers to execute arbitrary SQL commands via
ZoneMinder is a free, open source closed-circuit television software application. Rated critical severity (CVSS 9.8), th
ZoneMinder is a free, open source Closed-circuit television software application for Linux which supports IP, USB and An
ZoneMinder before 1.32.3 has SQL Injection via the ajax/status.php filter[Query][terms][0][cnj] parameter. Rated critica
ZoneMinder before 1.32.3 has SQL Injection via the skins/classic/views/control.php groupSql parameter, as demonstrated b
daemonControl in includes/functions.php in ZoneMinder before 1.32.3 allows command injection via shell metacharacters. R
EUVD-2026-127179
NVD
CVE.org
EPSS
GitHub
Exploit-DB