Skip to content
Heist/ feed
Back to feed
Critical

ZoneMinder: Authenticated OS Command Injection via unsanitized Monitor Name in event export (download_functions.php)

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-102608, CVE-2026-76060
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 16:42 UTC · Revision 1

Source evidence

ZoneMinder: Authenticated OS Command Injection via unsanitized Monitor Name in event export (download_functions.php)

core-osv · Original source

Published 16 Oct 2026, 19:35 UTC

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.

osv:CVE-2026-102608
Complete source record
{
  "id": "7635c3ee05f4fa29725d46dd020e28eed05763a17c45c5bd766a08a6a5a1b8af",
  "url": "https://osv.dev/vulnerability/CVE-2026-102608",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 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.",
    "evidence": "osv:CVE-2026-102608",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-102608",
      "aliases": [
        "CVE-2026-102608",
        "CVE-2026-76060",
        "GHSA-88m4-hrgp-m9v3"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zoneminder/zoneminder",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "67d7b464704c2e4a489eb20b4253f96272f115f3"
                },
                {
                  "fixed": "2de2ae44a1d751bad4b020c5573b2d58c59c1525"
                },
                {
                  "fixed": "b3a7c05f079c87badf4b0ce052da0acfd4047a4b"
                },
                {
                  "fixed": "b5605e01c14354fc8e2dcae8cefd90c3674880d9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.37.48"
                      },
                      {
                        "fixed": "1.38.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2de2ae44a1d751bad4b020c5573b2d58c59c1525"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b3a7c05f079c87badf4b0ce052da0acfd4047a4b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b5605e01c14354fc8e2dcae8cefd90c3674880d9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "67d7b464704c2e4a489eb20b4253f96272f115f3"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.38.3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.38.1",
            "1.38.0",
            "1.36.0",
            "1.34.0",
            "1.32.3",
            "v1.26.3",
            "v1.26.2",
            "v1.26.1",
            "v1.26.0",
            "v1.25"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102608.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.358457561Z",
      "provider": "osv",
      "references": [
        "https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102608.json",
        "https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-88m4-hrgp-m9v3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-102608",
        "https://github.com/ZoneMinder/zoneminder/commit/2de2ae44a1d751bad4b020c5573b2d58c59c1525",
        "https://github.com/ZoneMinder/zoneminder/commit/b3a7c05f079c87badf4b0ce052da0acfd4047a4b",
        "https://github.com/ZoneMinder/zoneminder/commit/b5605e01c14354fc8e2dcae8cefd90c3674880d9",
        "https://www.scriptkittens.com/blog/two-sinks-one-shell"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102608.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-102608",
        "evidence": "/id"
      },
      {
        "value": "CVE-2026-76060",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 512435,
  "published_at": "2026-10-16T19:35:36.862+00:00"
}