Glances
Glances Vulnerable to Command Injection via Dynamic Configuration Values
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.3, Glances supports dynamic configuration values in which substrings enclosed in backticks are executed as system commands during configuration parsing. This behavior occurs in Config.get_value() and is implemented without validation or restriction of the executed commands. If an attacker can modify or influence configuration files, arbitrary commands will execute automatically with the privileges of the Glances process during startup or configuration reload. In deployments where Glances runs with elevated privileges (e.g., as a system service), this may lead to privilege escalation. This issue has been patched in version 4.5.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.5.3
Fixed in 4.5.3
Mitigation
Upgrade glances to 4.5.3 or later.
References
- Vendor advisory github.com/nicolargo/glances/security/advisori…
- Patch github.com/nicolargo/glances/commit/358d76a225…
- Release notes github.com/nicolargo/glances/releases/tag/v4.5…
Timeline
Days relative to CVE publicationFirst public PoC 40 days after publication; not in CISA KEV. First PoC: glances 4.5.2 - command injection (Exploit-DB, 13 May 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | glances 4.5.2 - command injection | 13 May 2026 | 14 Nov 2026 |