Description
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 products
nicolargo: glances
References4
- github.com/nicolargo/glances/security/advisories/GHSA-qhj7-v7h7… ExploitVendor Advisory
- github.com/nicolargo/glances/security/advisories/GHSA-qhj7-v7h7… ExploitVendor Advisory
- github.com/nicolargo/glances/commit/358d76a225fc21a9f95d2c4d7e4… Patch
- github.com/nicolargo/glances/releases/tag/v4.5.3 ProductRelease Notes
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 60 · as of 12 November 2026
- CWE
- CWE-78
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.