Description
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.
References5
- github.com/ZoneMinder/zoneminder/commit/548ed87d47a49c17b4c842f…
- github.com/ZoneMinder/zoneminder/commit/605f962b7b6ba7f5780b3e6…
- github.com/ZoneMinder/zoneminder/releases/tag/1.38.3
- github.com/ZoneMinder/zoneminder/security/advisories/GHSA-7j62-…
- github.com/ZoneMinder/zoneminder/security/advisories/GHSA-7j62-…
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 39 · as of 10 November 2026
- CWE
- CWE-78
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.