What’s Vulnerable › Vulnerabilities
CVE-2026-68518: Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction
- Severity: high (CVSS 8.8 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-17 · updated 2026-10-23
- Weakness: CWE-78
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
- nicolargo glances: before 4.5.6
References
- https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994
- https://github.com/nicolargo/glances/releases/tag/v4.5.6
- https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3
- https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3
Get alerted when CVE-2026-68518 or the next vulnerability affects your stack