ZoneMinder
ZoneMinder: Authenticated OS Command Injection (RCE) via Export Feature
ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.3, the exportEvents() function concatenates the attacker-controlled exportFile request parameter into a shell command without neutralizing shell metacharacters when an authenticated user with View Events or View Snapshots permission submits an event export request with a crafted exportFile value, a valid CSRF token, and exportDetail enabled. The affected components are exportEvents(), exportFile, web/ajax/event.php, web/skins/classic/includes/export_functions.php. In this attack mechanism, the crafted exportFile value reaches the trailing directory argument of a tar or zip command executed by exec(). The attacker can execute arbitrary operating system commands as the web server user. This issue is fixed in version 1.38.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.38.2
Fixed in 1.38.2
Mitigation
Upgrade zoneminder to 1.38.2 or later.
References
- Vendor advisory github.com/ZoneMinder/zoneminder/security/advi…
- Patch github.com/ZoneMinder/zoneminder/commit/548ed8…
- Patch github.com/ZoneMinder/zoneminder/commit/605f96…
1 more
- Release notes github.com/ZoneMinder/zoneminder/releases/tag/…
Timeline
Days relative to CVE publicationFirst public PoC 220 days before publication; not in CISA KEV. First PoC: d4kw1n/CVE-2026-102607-ZoneMinder (created 11 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| d4kw1n/CVE-2026-102607-ZoneMinder | 11 Mar 2026 −220 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /zm/index.php
- Key headers
Cookie: ZMSESSID={var}- Body markers
view=requestrequest=eventaction=exportexportFormat=tareids[]=1exportDetail=1__csrf_magic=exportFile=a; export RHOST="inapplication/x-www-form-urlencoded- Seen in
- 1 repo: d4kw1n/CVE-2026-102607-ZoneMinder
- Evidence
- d4kw1n/CVE-2026-102607-ZoneMinder/README.md:327
GET /index.php
- Query
view=archivetype=tarfile=- Seen in
- 1 repo: d4kw1n/CVE-2026-102607-ZoneMinder
- Evidence
- d4kw1n/CVE-2026-102607-ZoneMinder/poc.py:74 d4kw1n/CVE-2026-102607-ZoneMinder/poc.py:106
POST /index.php
- Body markers
view=requestrequest=eventaction=exportexportFormat=tarexportDetail=1eids[]=1exportFile=a; sleep__csrf_magic=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: d4kw1n/CVE-2026-102607-ZoneMinder
- Evidence
- d4kw1n/CVE-2026-102607-ZoneMinder/poc.py:98
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/zm/index\.php(?:[?#].*)?$
(?i)^/index\.php\?(?:.*&)?view=archive.*type=tar.*file=
(?i)^/index\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-102607 ZoneMinder zoneminder exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/zm/index.php"; http.header; content:"Cookie: ZMSESSID="; nocase; http.request_body; content:"view=request"; http.request_body; content:"request=event"; http.request_body; content:"action=export"; http.request_body; content:"exportFormat=tar"; http.request_body; content:"eids[]=1"; http.request_body; content:"exportDetail=1"; http.request_body; content:"__csrf_magic="; http.request_body; content:"exportFile=a|3b| export RHOST=|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-102607; classtype:web-application-attack; sid:9219654; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-102607 ZoneMinder zoneminder exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php"; http.uri; content:"view=archive"; http.uri; content:"type=tar"; http.uri; content:"file="; reference:url,poc.griffinguard.io/cve/CVE-2026-102607; classtype:web-application-attack; sid:9678084; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-102607 ZoneMinder zoneminder exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.request_body; content:"view=request"; http.request_body; content:"request=event"; http.request_body; content:"action=export"; http.request_body; content:"exportFormat=tar"; http.request_body; content:"exportDetail=1"; http.request_body; content:"eids[]=1"; http.request_body; content:"exportFile=a|3b| sleep"; http.request_body; content:"__csrf_magic="; reference:url,poc.griffinguard.io/cve/CVE-2026-102607; classtype:web-application-attack; sid:9062740; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: ZoneMinder zoneminder exploit attempt (CVE-2026-102607)
id: gg-pocmon-cve-2026-102607-9219654
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-102607. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-102607
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/zm/index.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.102607
title: ZoneMinder zoneminder exploit attempt (CVE-2026-102607)
id: gg-pocmon-cve-2026-102607-9678084
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-102607. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-102607
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/index.php'
cs-uri-query|contains|all:
- 'view=archive'
- 'type=tar'
- 'file='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.102607
title: ZoneMinder zoneminder exploit attempt (CVE-2026-102607)
id: gg-pocmon-cve-2026-102607-9062740
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-102607. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-102607
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/index.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.102607