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

Source: https://junglewise.ai/threats/cve-2026-33641-glances-vulnerable-to-command-injection-via-dynamic-configuration  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-02. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/nicolargo-glances), [glances (PyPI)](https://junglewise.ai/threats/technologies/glances). Vendors: [Nicolargo](https://junglewise.ai/threats/vendors/nicolargo), [PyPI](https://junglewise.ai/threats/vendors/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

  ```sh
  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

- [https://api.github.com/users/mith36](https://api.github.com/users/mith36)
- [https://github.com/mith36](https://github.com/mith36)
- [https://api.github.com/users/mith36/gists%7B/gist_id%7D](https://api.github.com/users/mith36/gists%7B/gist_id%7D)
- [https://api.github.com/users/mith36/repos](https://api.github.com/users/mith36/repos)
- [https://avatars.githubusercontent.com/u/67685518?v=4](https://avatars.githubusercontent.com/u/67685518?v=4)
- [https://api.github.com/users/mith36/events%7B/privacy%7D](https://api.github.com/users/mith36/events%7B/privacy%7D)

## Related threats

- [Glances as_dict_secure credential leak in API config endpoint](https://junglewise.ai/threats/cve-2026-68520-glances-as-dict-secure-credential-leak-in-api-config-endpoint)
- [Glances incomplete fix in alert action command execution](https://junglewise.ai/threats/cve-2026-68519-glances-incomplete-fix-in-alert-action-command-execution)
- [Glances incomplete command injection sanitizer fix in nested stat values](https://junglewise.ai/threats/cve-2026-62982-glances-incomplete-command-injection-sanitizer-fix-in-nested-stat)
- [Glances command injection via cross-field shell-operator reconstruction](https://junglewise.ai/threats/cve-2026-68518-glances-command-injection-via-cross-field-shell-operator)
- [Glances REST API CORS credentials bypass via wildcard in multi-origin list](https://junglewise.ai/threats/cve-2026-68517-glances-rest-api-cors-credentials-bypass-via-wildcard-in-multi)
