Skip to main content
← All vulnerabilities
CVE-2026-33641GHSA-QHJ7-V7H7-Q4C7PYSEC-2026-2174

Glances Vulnerable to Command Injection via Dynamic Configuration Values

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.3
1 on Exploit-DB
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated
  4. Public exploit on Exploit-DB

    EDB-52559

Affected versions

  • nicolargo glances

    fixed in 4.5.3

  • glancesPyPI

    fixed in 4.5.3

References 4

GitHub · nicolargo/glances

Exploit-DB