NetSight
high7.8

CVE-2026-46607

Glances has Insecure Pickle Deserialization in its Version Cache that Leads to Arbitrary Code Execution

Impact

Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.5, glances/outdated.py uses pickle.load() to read a version-check cache file stored at a predictable, world-accessible path (~/.cache/glances/glances-version.db or $XDG_CACHE_HOME/glances/glances-version.db). No integrity check, signature verification, or format validation is performed before deserialization. An attacker with write access to that path — through any of several realistic local or container-level scenarios — can plant a malicious pickle file and achieve arbitrary code execution as the OS user running Glances the next time it starts with version checking enabled (the default). This vulnerability is fixed in 4.5.5.

Affected packages

EcosystemPackageAffectedFixed in
pipglances< 4.5.54.5.5

Weakness classification

References