Vulnerability · Published Apr 2, 2026 · Assigned by GitHub_M

CVE-2026-33641Glances Vulnerable to Command Injection via Dynamic Configuration Values

High 7.8

In plain English

A high-severity OS command injection in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.9%top 40.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12glancesno fix listedDEBIAN-CVE-2026-33641
Debian:13glancesno fix listedDEBIAN-CVE-2026-33641
Debian:14glances4.5.3.2+dfsg-1DEBIAN-CVE-2026-33641
PyPIglances4.5.3GHSA-qhj7-v7h7-q4c7
PyPIglances4.5.3PYSEC-2026-2174
Ubuntu:22.04:LTSglancesno fix listedUBUNTU-CVE-2026-33641
Ubuntu:24.04:LTSglancesno fix listedUBUNTU-CVE-2026-33641
Ubuntu:25.10glancesno fix listedUBUNTU-CVE-2026-33641
Ubuntu:26.04:LTSglancesno fix listedUBUNTU-CVE-2026-33641
Ubuntu:26.10glancesno fix listedUBUNTU-CVE-2026-33641

Affected products (as reported)

VendorProductVersions
nicolargo glances < 4.5.3

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References