OS Command Injection in ZoneMinder - #VU158948

 

OS Command Injection in ZoneMinder - #VU158948

Published: November 3, 2026


Vulnerability identifier: #VU158948
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary operating system commands as the web server user on the ZoneMinder server.

The vulnerability exists due to improper neutralization of shell metacharacters in the wget() helper in web/includes/monitor_probe.php when processing camera discovery URLs containing user-controlled credentials. A remote user can submit a camera username such as a;touch /tmp/zm_probe_marker;# through the camera discovery request to inject shell commands into the URL passed to exec() and execute arbitrary commands as the web server user.

Exploitation requires Monitors Create or Edit permissions and a deployment where camera discovery reaches a wget()-based vendor helper, such as Hikvision, Avigilon, or Vivotek.


Affected software

ZoneMinder

Remediation

Install security update from vendor's website.

ZoneMinder - update to 1.39.2

External References

Related Security Bulletins