---
id: CVE-2026-102608
title: >-
  ZoneMinder: Authenticated OS Command Injection via unsanitized Monitor Name in
  event export (download_functions.php)
summary: >-
  ZoneMinder is a free, open source closed-circuit television software
  application. Prior to 1.38.3, downloadEvents() manually wraps a monitor Name
  value in single quotes instead of using escapeshellarg() before placing it in
  shell command…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-78
vendor: ZoneMinder
product: zoneminder
affected:
  - 'zoneminder >= 1.37.48, < 1.38.3'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:35:36.862Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-102608'
references:
  - url: >-
      https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-88m4-hrgp-m9v3
    label: >-
      https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-88m4-hrgp-m9v3
  - url: >-
      https://github.com/ZoneMinder/zoneminder/commit/2de2ae44a1d751bad4b020c5573b2d58c59c1525
    label: >-
      https://github.com/ZoneMinder/zoneminder/commit/2de2ae44a1d751bad4b020c5573b2d58c59c1525
  - url: >-
      https://github.com/ZoneMinder/zoneminder/commit/b3a7c05f079c87badf4b0ce052da0acfd4047a4b
    label: >-
      https://github.com/ZoneMinder/zoneminder/commit/b3a7c05f079c87badf4b0ce052da0acfd4047a4b
  - url: >-
      https://github.com/ZoneMinder/zoneminder/commit/b5605e01c14354fc8e2dcae8cefd90c3674880d9
    label: >-
      https://github.com/ZoneMinder/zoneminder/commit/b5605e01c14354fc8e2dcae8cefd90c3674880d9
  - url: 'https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.3'
    label: 'https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.3'
  - url: 'https://www.scriptkittens.com/blog/two-sinks-one-shell'
    label: 'https://www.scriptkittens.com/blog/two-sinks-one-shell'
tags:
  - cve.org
ingestedAt: '2026-10-16T19:46:24.284Z'
---

## Overview

ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.3, downloadEvents() manually wraps a monitor Name value in single quotes instead of using escapeshellarg() before placing it in shell commands when a user with monitor-create or monitor-edit permission stores a monitor Name containing shell metacharacters and a user with Events View permission exports that monitor's events. In this attack mechanism, the stored monitor Name reaches both the ffmpeg concatenation command and the tar or zip archive command and breaks out of manual quoting. Arbitrary commands execute as the web server user. This issue is fixed in version 1.38.3.

## Affected

- `zoneminder >= 1.37.48, < 1.38.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
