CVE-2026-68518
HIGH 8.8CVSS 4.0Glances has a command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction
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.
- Published
- 17 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-qcpp-8x79-hhp3PYSEC-2026-3668
- Sources
- NVDJSONOSV GHSA-qcpp-8x79-hhp3JSONOSV PYSEC-2026-3668JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | glances | < 4.5.6 | 4.5.6 |
References
- https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994 · WEB
- https://github.com/nicolargo/glances/releases/tag/v4.5.6 · WEB
- https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3 · WEB
- https://github.com/nicolargo/glances · PACKAGE
- https://pypi.org/project/glances · PACKAGE
- https://github.com/advisories/GHSA-qcpp-8x79-hhp3 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-68518 · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 17 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Aug 2026)