Skip to content
OpenAdvisories
High · 7.8 CVE-2026-46607 EUVD-2026-39519GHSA-9837-48hr-q32jPYSEC-2026-2496

Glances: Insecure Pickle Deserialization in Version Cache Leads to Arbitrary Code Execution

Published Jun 25, 2026 · Updated Jun 25, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
nicolargo glances < 4.5.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glances 4.5.5+dfsg-1 —
Debian 13 glances No fix yet —
Debian 12 glances No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS glances No fix yet —
Ubuntu 25.10 glances No fix yet —
Ubuntu 24.04 LTS glances No fix yet —
Ubuntu 22.04 LTS glances No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glances No fix yet —
Ubuntu Pro 18.04 LTS glances No fix yet —
Ubuntu Pro 16.04 LTS glances No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Glances 4.5.5-1.1 openSUSE-SU-2026:11122-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI glances < 4.5.5 4.5.5 GHSA-9837-48hr-q32j

Advisories 1

References