Glances: Argument Injection in On-Alert Action Commands via Unescaped Quote Characters in secure.py's Command Tokenizer
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 19, 2026
Description
Glances is an open-source system cross-platform monitoring tool. In versions prior to 4.5.7, the on-alert action command tokenizer in secure.py treats quote characters as argument boundaries without escaping. A monitored stat value, such as a mount point name, that is quoted in an action command template can contain a quote character that breaks out of its quote boundary and injects additional arguments into the process the action invokes. No shell operator is needed for this attack. This issue has been fixed in version 4.5.7.
| Product | Versions |
|---|---|
| glances nicolargo | < 4.5.7 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | GitHub_M |
Weaknesses
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.