glances — security advisory
Glances is an open-source system cross-platform monitoring tool. The Glances action system allows administrators to configure shell commands that execute when monitoring thresholds are exceeded. These commands support Mustache template variables (e.g., `{{name}}`, `{{key}}`) that are populated with runtime monitoring data. The `secure_popen()` function, which executes these commands, implements its own pipe, redirect, and chain operator handling by splitting the command string before passing each segment to `subprocess.Popen(shell=False)`. Prior to 4.5.2, when a Mustache-rendered value (such as a process name, filesystem mount point, or container name) contains pipe, redirect, or chain metacharacters, the rendered command is split in unintended ways, allowing an attacker who controls a process name or container name to inject arbitrary commands. Version 4.5.2 fixes the issue.
- Products
- glances
- Affected versions
- 2.10-2, 2.11.1-1, 2.11.1-2, 2.11.1-3, 2.11.1-3ubuntu0.1~esm1, 2.3-1build1, 2.3-1ubuntu0.1~esm1, 3.1.0-1, 3.1.1-1, 3.1.3-1, 3.1.3-1ubuntu0.1~esm1, 3.1.5-1, 3.2.3.1+dfsg-1, 3.2.4.2+dfsg-1, 3.4.0.3+dfsg-1, 4.3.0.8+dfsg-1, 4.3.1+dfsg-1, 4.3.3+dfsg-1, 4.5.4+dfsg-1, 4.5.5+dfsg-1, 4.5.6+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-32608
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:07 UTC · Revision 1
Source evidence
Glances is an open-source system cross-platform monitoring tool. The Glances action system allows administrators to configure shell commands that execute when monitoring thresholds are exceeded. These commands support Mustache template variables (e.g., `{{name}}`, `{{key}}`) that are populated with runtime monitoring data. The `secure_popen()` function, which executes these commands, implements its own pipe, redirect, and chain operator handling by splitting the command string before passing each segment to `subprocess.Popen(shell=False)`. Prior to 4.5.2, when a Mustache-rendered value (such as a process name, filesystem mount point, or container name) contains pipe, redirect, or chain metacharacters, the rendered command is split in unintended ways, allowing an attacker who controls a process name or container name to inject arbitrary commands. Version 4.5.2 fixes the issue.
osv:UBUNTU-CVE-2026-32608
glances
Fixed versions: Not specified
glances
Fixed versions: Not specified
glances
Fixed versions: Not specified
glances
Fixed versions: Not specified
glances
Fixed versions: Not specified
glances
Fixed versions: Not specified
glances
Fixed versions: Not specified
glances
Fixed versions: Not specified
Complete source record
{
"id": "fc6ccdea1e494bee256f9238a01450d13790101902a3ff14dfa42e7a5f59cfb7",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-32608",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-32608",
"summary": "Glances is an open-source system cross-platform monitoring tool. The Glances action system allows administrators to configure shell commands that execute when monitoring thresholds are exceeded. These commands support Mustache template variables (e.g., `{{name}}`, `{{key}}`) that are populated with runtime monitoring data. The `secure_popen()` function, which executes these commands, implements its own pipe, redirect, and chain operator handling by splitting the command string before passing each segment to `subprocess.Popen(shell=False)`. Prior to 4.5.2, when a Mustache-rendered value (such as a process name, filesystem mount point, or container name) contains pipe, redirect, or chain metacharacters, the rendered command is split in unintended ways, allowing an attacker who controls a process name or container name to inject arbitrary commands. Version 4.5.2 fixes the issue.",
"evidence": "osv:UBUNTU-CVE-2026-32608",
"products": [
{
"name": {
"value": "glances",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3-1build1",
"evidence": "/affected/0/versions"
},
{
"value": "2.3-1ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "glances",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.11.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.11.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.11.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "2.11.1-3ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "glances",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.1.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.1.3-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.1.3-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "glances",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.5-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.2.3.1+dfsg-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.2.4.2+dfsg-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "glances",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.4.0.3+dfsg-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "glances",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3.0.8+dfsg-1",
"evidence": "/affected/5/versions"
},
{
"value": "4.3.1+dfsg-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "glances",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3.3+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "4.5.4+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "4.5.5+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "4.5.6+dfsg-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "glances",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3.1+dfsg-1",
"evidence": "/affected/7/versions"
},
{
"value": "4.3.3+dfsg-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-32608",
"aliases": [
"UBUNTU-CVE-2026-32608"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"2.3-1build1",
"2.3-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "2.3-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"2.10-2",
"2.11.1-1",
"2.11.1-2",
"2.11.1-3",
"2.11.1-3ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "2.11.1-3ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"3.1.0-1",
"3.1.1-1",
"3.1.3-1",
"3.1.3-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "3.1.3-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.1.5-1",
"3.2.3.1+dfsg-1",
"3.2.4.2+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "3.2.4.2+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.4.0.3+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "3.4.0.3+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"4.3.0.8+dfsg-1",
"4.3.1+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "4.3.1+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.3.3+dfsg-1",
"4.5.4+dfsg-1",
"4.5.5+dfsg-1",
"4.5.6+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "4.5.6+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "glances",
"purl": "pkg:deb/ubuntu/glances?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.3.1+dfsg-1",
"4.3.3+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32608.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "glances",
"binary_version": "4.3.3+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T12:58:09.881485114Z",
"provider": "osv",
"upstream": [
"CVE-2026-32608"
],
"references": [
"https://ubuntu.com/security/CVE-2026-32608",
"https://www.cve.org/CVERecord?id=CVE-2026-32608",
"https://github.com/nicolargo/glances/security/advisories/GHSA-vcv2-q258-wrg7",
"https://github.com/nicolargo/glances/commit/6f4ec53d967478e69917078e6f73f448001bf107"
]
},
"related_cves": [
{
"value": "CVE-2026-32608",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358257,
"published_at": "2026-03-18T07:16:00+00:00"
}