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

CVE-2026-33641 · Severity: high · CVSS 7.8 · Published 2026-04-02

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.

Technologies: Nicolargo Glances, glances (PyPI). Vendors: Nicolargo, PyPI.

Quick answers

Is CVE-2026-33641 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-33641 being exploited in the wild.
How severe is CVE-2026-33641?
High severity, with a CVSS score of 7.8, published 2 April 2026.
Which products and versions are affected?
glances (PyPI) <= 4.5.2, ECOSYSTEM:introduced=0,fixed=4.5.3.
Is there a fix for CVE-2026-33641?
Yes. glances (PyPI): upgrade to 4.5.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-33641?
Check whether you run Nicolargo Glances or glances (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • glances (PyPI): upgrade to 4.5.3 or later
    pip install "glances>=4.5.3"

Affected products

  • Nicolargo Glances
  • glances (PyPI) <= 4.5.2, ECOSYSTEM:introduced=0,fixed=4.5.3

Identifiers

  • CVE-2026-33641
  • GHSA-qhj7-v7h7-q4c7
  • PYSEC-2026-2174

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.