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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nicolargo | glances | < 4.5.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glances | 4.5.3.2+dfsg-1 | — |
| Debian 13 | glances | No fix yet | — |
| Debian 12 | glances | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | glances | No fix yet | — |
| Ubuntu 26.04 LTS | glances | No fix yet | — |
| Ubuntu 25.10 | glances | No fix yet | — |
| Ubuntu 24.04 LTS | glances | No fix yet | — |
| Ubuntu 22.04 LTS | glances | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | glances | No fix yet | — |
| Ubuntu Pro 18.04 LTS | glances | No fix yet | — |
| Ubuntu Pro 16.04 LTS | glances | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Glances | 4.5.3-1.1 | openSUSE-SU-2026:10519-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- glances 4.5.2 - command injection EDB-52559 · webapps · May 13, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | glances | < 4.5.3 | 4.5.3 | GHSA-qhj7-v7h7-q4c7 |
Advisories 1
- openSUSE-SU-2026:10519-1 glances-common-4.5.3-1.1 on GA media SUSE / openSUSE Security Updates · Apr 10, 2026