{
  "id": "CVE-2026-102607",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-102607",
  "published_at": "2026-10-16T19:29:58.131Z",
  "title": "ZoneMinder: Authenticated OS Command Injection (RCE) via Export Feature",
  "vendor": "ZoneMinder",
  "product": "zoneminder",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-11T06:18:53Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -219.5,
    "repo": "d4kw1n/CVE-2026-102607-ZoneMinder",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "d4kw1n/CVE-2026-102607-ZoneMinder",
      "url": "https://github.com/d4kw1n/CVE-2026-102607-ZoneMinder",
      "created_at": "2026-03-11T06:18:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-08-23T14:09:51Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "ZoneMinder",
        "product": "zoneminder",
        "ranges": [
          "\u003c 1.38.2"
        ],
        "fixed_in": [
          "1.38.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade zoneminder to 1.38.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-7j62-cjxp-3cj5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ZoneMinder/zoneminder/commit/548ed87d47a49c17b4c842f6fee8a08660deb427"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ZoneMinder/zoneminder/commit/605f962b7b6ba7f5780b3e6715b5418b8b2addca"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/zm/index.php",
      "headers": [
        {
          "name": "Cookie",
          "value": "ZMSESSID={var}"
        }
      ],
      "body_markers": [
        "view=request",
        "request=event",
        "action=export",
        "exportFormat=tar",
        "eids[]=1",
        "exportDetail=1",
        "__csrf_magic=",
        "exportFile=a; export RHOST=\""
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "d4kw1n/CVE-2026-102607-ZoneMinder"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "d4kw1n/CVE-2026-102607-ZoneMinder/README.md:327"
      ]
    },
    {
      "method": "GET",
      "path_template": "/index.php",
      "query_markers": [
        "view=archive",
        "type=tar",
        "file="
      ],
      "protocol": "http",
      "repos": [
        "d4kw1n/CVE-2026-102607-ZoneMinder"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "d4kw1n/CVE-2026-102607-ZoneMinder/poc.py:74",
        "d4kw1n/CVE-2026-102607-ZoneMinder/poc.py:106"
      ]
    },
    {
      "method": "POST",
      "path_template": "/index.php",
      "body_markers": [
        "view=request",
        "request=event",
        "action=export",
        "exportFormat=tar",
        "exportDetail=1",
        "eids[]=1",
        "exportFile=a; sleep",
        "__csrf_magic="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "d4kw1n/CVE-2026-102607-ZoneMinder"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "d4kw1n/CVE-2026-102607-ZoneMinder/poc.py:98"
      ]
    }
  ],
  "rules": []
}
