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.
Fix
Public exploits 1
- glances 4.5.2 - command injection (webapps · multiple) Exploit-DB · 2026-05-13
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/nicolargo/glances/commit/358d76a225fc21a9f95d2c4d7e46fafe64a644c6 Patch
- https://github.com/nicolargo/glances/security/advisories/GHSA-qhj7-v7h7-q4c7 Exploit, Vendor Advisory
- https://github.com/nicolargo/glances/security/advisories/GHSA-qhj7-v7h7-q4c7 Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.8 · nicolargoNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:*
References 4
- https://github.com/nicolargo/glances/commit/358d76a225fc21a9f95d2c4d7e46fafe64a644c6 Patch
- https://github.com/nicolargo/glances/releases/tag/v4.5.3 Product, Release Notes
- https://github.com/nicolargo/glances/security/advisories/GHSA-qhj7-v7h7-q4c7 Exploit, Vendor Advisory
- https://github.com/nicolargo/glances/security/advisories/GHSA-qhj7-v7h7-q4c7 Exploit, Vendor Advisory