# CVE-2026-46607: nicolargo Glances insecure pickle deserialization in version cache

Source: https://junglewise.ai/threats/cve-2026-46607-nicolargo-glances-insecure-pickle-deserialization-in-version  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-25. Updated: 2026-06-25  
License: CC BY 4.0 with a link back

CVE-2026-46607 · Severity: high · CVSS 7.8 · Published 2026-06-25

Glances is a system monitoring tool used to track hardware and software performance. A security flaw allows a local user or a compromised container to gain full control over the system by placing a malicious file in a predictable location used for version checking. If Glances is running with administrative privileges (root), an attacker could use this to take over the entire server or monitoring environment.

Technologies: [glances (PyPI)](https://junglewise.ai/threats/technologies/glances). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-46607 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-46607 being exploited in the wild.

**How severe is CVE-2026-46607?** High severity, with a CVSS score of 7.8, published 25 June 2026.

**Which products and versions are affected?** glances (PyPI) < 4.5.5, ECOSYSTEM:introduced=0,fixed=4.5.5.

**Is there a fix for CVE-2026-46607?** Yes. glances (PyPI): upgrade to 4.5.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-46607 attacked?** It is attacked with local access, in a network appliance.

**Am I affected by CVE-2026-46607?** Check whether you run 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.5 or later

  ```sh
  pip install "glances>=4.5.5"
  ```


## Technical details

The vulnerability exists in `glances/outdated.py` due to the use of `pickle.load()` on a version-check cache file (`glances-version.db`) stored in a predictable, world-accessible path (typically `~/.cache/glances/`). Because the `pickle` module is inherently unsafe and the application performs no integrity checks or signature verification before deserialization, an attacker with write access to the cache directory can plant a malicious pickle file. When Glances starts with version checking enabled (the default setting), it deserializes the file, leading to arbitrary code execution as the user running the process. This is particularly critical in deployments where Glances runs as root to access hardware counters. The issue is resolved in version 4.5.5 by replacing pickle with a safer format.

## Affected products

- nicolargo Glances < 4.5.5

## Identifiers

- CVE-2026-46607
- GHSA-9837-48hr-q32j
- PYSEC-2026-2496

## Timeline

- 2026-06-13: patched: Version 4.5.5 released
- 2026-06-25: disclosed: NVD publication date

## References

- [https://github.com/nicolargo/glances/releases/tag/v4.5.5](https://github.com/nicolargo/glances/releases/tag/v4.5.5)
- [https://github.com/nicolargo/glances/security/advisories/GHSA-9837-48hr-q32j](https://github.com/nicolargo/glances/security/advisories/GHSA-9837-48hr-q32j)

## 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)
