CVE-2026-68518 json
Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction
published 2026-08-17 2 mo ago modified 2026-10-23 16 d ago also EUVD-2026-60265 , GHSA-qcpp-8x79-hhp3 , PYSEC-2026-3668
- cvss
- 8.8
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi glances 4.5.6
- glances_project glances 4.5.6
- nicolargo glances 4.5.6
- glances Debian 14 4.5.6+dfsg-1
debian advisories DEBIAN-CVE-2026-68518
- python-Glances openSUSE Tumbleweed 4.5.6-1.1
opensuse advisories openSUSE-SU-2026:11674-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-68518 updated cvss 8.8
glances: Glances: Command injection via unsanitized Mustache variables
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.8 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| CNA | 4.0 | 8.8 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | glances | <4.5.6 |
4.5.6 |
Affected products
- nicolargo glances
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994
web
-
github.com
/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3
exploit, web
-
github.com
/nicolargo/glances/releases/tag/v4.5.6
web
-
github.com
/nicolargo/glances
package
-
pypi.org
/project/glances
package
-
github.com
/advisories/GHSA-qcpp-8x79-hhp3
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-68518
advisory
Sources
- CVE List CVE-2026-68518
- GitHub Advisory GHSA-qcpp-8x79-hhp3
- NVD CVE-2026-68518
- OSV PYSEC-2026-3668
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.