Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2026-33641 EUVD-2026-18256GHSA-qhj7-v7h7-q4c7PYSEC-2026-2174

Glances Vulnerable to Command Injection via Dynamic Configuration Values

Published Apr 2, 2026 · Updated Apr 2, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 glances 4.5.3.2+dfsg-1 —
Debian 13 glances No fix yet —
Debian 12 glances No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI glances < 4.5.3 4.5.3 GHSA-qhj7-v7h7-q4c7

Advisories 1

References