Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M
CVE-2026-62982Glances: Incomplete fix of CVE-2026-32608: action-template sanitizer is bypassed by nested stat values (process 'cmdline') → OS command injection
High 8.8
In plain English
A high-severity OS command injection in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Glances is an open-source system cross-platform monitoring tool. From 4.5.2 until 4.5.6, _sanitize_mustache_dict() in glances/actions.py skips nested list and dictionary strings such as process cmdline values, allowing pipe characters to survive chevron.render() and be executed by secure_popen() through administrator-configured action templates. This issue is fixed in 4.5.6.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | glances | 4.5.6+dfsg-1 | DEBIAN-CVE-2026-62982 |
| PyPI | glances | 4.5.6 | GHSA-73wf-9vmv-5pv9 |
| PyPI | glances | 4.5.6 | PYSEC-2026-3666 |
| Ubuntu:22.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-62982 |
| Ubuntu:24.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-62982 |
| Ubuntu:26.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-62982 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-73wf-9vmv-5pv9 x_refsource_CONFIRM
- https://github.com/nicolargo/glances/commit/ea4cf2f54f0d961e24aa0b24fff9584bab39db93 x_refsource_MISC
- https://github.com/nicolargo/glances/releases/tag/v4.5.6 x_refsource_MISC