zoneminder — security advisory
ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.39.2, 1.38.2, and 1.36.40, ZoneMinder interpolates an unvalidated monitor Device field into shell commands in PHP and Perl control paths when an authenticated user with monitor-create or monitor-edit permission saves a Local monitor whose Device Path contains shell metacharacters and the monitor control or startup path runs. In this attack mechanism, the stored Device value reaches Perl qx() and backtick execution before zmdc.pl argument detainting, while separate PHP command paths use bypassable escapeshellcmd defenses. The attacker can execute arbitrary commands as the web server user. This vulnerability is fixed in 1.39.2, 1.38.2, and 1.36.40.
- Products
- zoneminder
- Affected versions
- 1.36.33+dfsg1-1, 1.36.35+dfsg1-1, 1.36.37+dfsg1-1, 1.36.37+dfsg1-1.1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-30971
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:36 UTC · Revision 1
Source evidence
ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.39.2, 1.38.2, and 1.36.40, ZoneMinder interpolates an unvalidated monitor Device field into shell commands in PHP and Perl control paths when an authenticated user with monitor-create or monitor-edit permission saves a Local monitor whose Device Path contains shell metacharacters and the monitor control or startup path runs. In this attack mechanism, the stored Device value reaches Perl qx() and backtick execution before zmdc.pl argument detainting, while separate PHP command paths use bypassable escapeshellcmd defenses. The attacker can execute arbitrary commands as the web server user. This vulnerability is fixed in 1.39.2, 1.38.2, and 1.36.40.
osv:DEBIAN-CVE-2026-30971
zoneminder
Fixed versions: Not specified
zoneminder
Fixed versions: Not specified
zoneminder
Fixed versions: Not specified
Complete source record
{
"id": "788867e35a555bb93e657023614427f733b2a3c2f2fb1b1d0e0d75d6d97a4d2d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-30971",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-30971",
"summary": "ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.39.2, 1.38.2, and 1.36.40, ZoneMinder interpolates an unvalidated monitor Device field into shell commands in PHP and Perl control paths when an authenticated user with monitor-create or monitor-edit permission saves a Local monitor whose Device Path contains shell metacharacters and the monitor control or startup path runs. In this attack mechanism, the stored Device value reaches Perl qx() and backtick execution before zmdc.pl argument detainting, while separate PHP command paths use bypassable escapeshellcmd defenses. The attacker can execute arbitrary commands as the web server user. This vulnerability is fixed in 1.39.2, 1.38.2, and 1.36.40.",
"evidence": "osv:DEBIAN-CVE-2026-30971",
"products": [
{
"name": {
"value": "zoneminder",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.36.33+dfsg1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.36.35+dfsg1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.36.37+dfsg1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.36.37+dfsg1-1.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "zoneminder",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.36.35+dfsg1-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.36.37+dfsg1-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.36.37+dfsg1-1.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "zoneminder",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.36.35+dfsg1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.36.37+dfsg1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.36.37+dfsg1-1.1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-30971",
"aliases": [
"DEBIAN-CVE-2026-30971"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "zoneminder",
"purl": "pkg:deb/debian/zoneminder?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.36.33+dfsg1-1",
"1.36.35+dfsg1-1",
"1.36.37+dfsg1-1",
"1.36.37+dfsg1-1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30971.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "zoneminder",
"purl": "pkg:deb/debian/zoneminder?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.36.35+dfsg1-1",
"1.36.37+dfsg1-1",
"1.36.37+dfsg1-1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30971.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "zoneminder",
"purl": "pkg:deb/debian/zoneminder?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.36.35+dfsg1-1",
"1.36.37+dfsg1-1",
"1.36.37+dfsg1-1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30971.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-17T13:09:27.957437679Z",
"provider": "osv",
"upstream": [
"CVE-2026-30971"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-30971"
]
},
"related_cves": [
{
"value": "CVE-2026-30971",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361820,
"published_at": "2026-10-16T20:17:23.19+00:00"
}