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.
Severity (CVSS)
| Base score | 8.8 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| nicolargo | glances | < 4.5.6 |
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3 (x_refsource_CONFIRM)
- https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994 (x_refsource_MISC)
- https://github.com/nicolargo/glances/releases/tag/v4.5.6 (x_refsource_MISC)
Generated from the official CVE List on 18 Aug 2026 07:05 UTC.