Skip to content
OpenAdvisories
High · 8.8 CVE-2026-68518 EUVD-2026-60265GHSA-qcpp-8x79-hhp3PYSEC-2026-3668

Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction

Published Aug 17, 2026 · Updated Aug 17, 2026 · Assigned by GitHub_M

Description

Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, _sanitize_mustache_dict() in glances/actions.py sanitizes individual Mustache values before chevron.render(), allowing adjacent unescaped Mustache variables to reconstruct shell operators that secure_popen() executes when attacker-controlled process or container fields are rendered by an administrator-configured action template. This issue is fixed in 4.5.6.

Affected products

VendorProductAffectedFixed
nicolargo glances < 4.5.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glances 4.5.6+dfsg-1 —
Debian 13 glances No fix yet —
Debian 12 glances No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS glances No fix yet —
Ubuntu 24.04 LTS glances No fix yet —
Ubuntu 22.04 LTS glances No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glances No fix yet —
Ubuntu Pro 18.04 LTS glances No fix yet —
Ubuntu Pro 16.04 LTS glances No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Glances 4.5.6-1.1 openSUSE-SU-2026:11674-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI glances < 4.5.6 4.5.6 GHSA-qcpp-8x79-hhp3

Advisories 1

References