OS Command Injection in ZoneMinder - CVE-2026-102607
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary operating system commands on the server as the web server user (www-data).
The vulnerability exists due to improper neutralization of shell metacharacters in ZoneMinder's exportEvents() function in web/skins/classic/includes/export_functions.php when processing event export requests. A remote user can submit a request with View Events or View Snapshots permission and a valid __csrf_magic token, injecting shell metacharacters into the exportFile parameter to execute arbitrary operating system commands through PHP's exec().
When using non-existent event IDs, the request must include exportDetail=1 to prevent a PHP fatal error in exportEventImagesMaster().