Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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