CVE-2026-62982 Glances: Incomplete fix of CVE-2026-32608: action-template sanitizer is bypassed by nested stat values (process 'cmdline') → OS command injection
HighCVSS 8.8
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 2 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/glances(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/glances(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/glances(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/glances(Debian 14) | < 4.5.6+dfsg-1; = 4.3.1+dfsg-1; = 4.3.3+dfsg-1; = 4.5.1+dfsg-1 +4 more | 4.5.6+dfsg-1 | Fixed |
| pypi glances(PyPI) | = 4.5.2; = 4.5.3; = 4.5.4; = 4.5.5 +1 more | 4.5.6 | Fixed |
| nicolargo glances | = >= 4.5.2, < 4.5.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi glances(PyPI) | >= 4.5.2, < 4.5.6 | 4.5.6 |
| pypi glances(PyPI) | = 4.5.2 | No fix listed |
| pypi glances(PyPI) | = 4.5.3 | No fix listed |
| pypi glances(PyPI) | = 4.5.4 | No fix listed |
| pypi glances(PyPI) | = 4.5.5 | No fix listed |
| nicolargo glances | = >= 4.5.2, < 4.5.6 | No fix listed |
| debian/glances(Debian:14) | < 4.5.6+dfsg-1 | 4.5.6+dfsg-1 |
| debian/glances(Debian:14) | = 4.3.1+dfsg-1 | No fix listed |
| debian/glances(Debian:14) | = 4.3.3+dfsg-1 | No fix listed |
| debian/glances(Debian:14) | = 4.5.1+dfsg-1 | No fix listed |
| debian/glances(Debian:14) | = 4.5.2+dfsg-1 | No fix listed |
| debian/glances(Debian:14) | = 4.5.3.2+dfsg-1 | No fix listed |
| debian/glances(Debian:14) | = 4.5.4+dfsg-1 | No fix listed |
| debian/glances(Debian:14) | = 4.5.5+dfsg-1 | No fix listed |
| ubuntu/glances(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/glances(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/glances(Ubuntu:26.04) | All versions | No fix listed |
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-73wf-9vmv-5pv9 exploit vendor-advisory
- https://github.com/nicolargo/glances/commit/ea4cf2f54f0d961e24aa0b24fff9584bab39db93 patch
- github.com product
- https://github.com/nicolargo/glances/releases/tag/v4.5.6
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2517513 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-62982 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-60303 third-party-advisory