PT-2026-49093 · Glance+1 · Glance+1
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Glances versions prior to 4.5.5
Description
Insecure deserialization occurs in
glances/outdated.py because the load cache() function uses pickle.load() to read a version-check cache file. This file is stored at predictable, world-accessible paths such as ~/.cache/glances/glances-version.db or $XDG CACHE HOME/glances/glances-version.db. Since no integrity check, signature verification, or format validation is performed before deserialization, an attacker with write access to these paths can plant a malicious pickle file. This allows for arbitrary code execution as the OS user running Glances when the application starts with version checking enabled, which is the default setting. This issue can be exploited in shared multi-user hosts, compromised containers sharing volumes, or via symlink race conditions.Recommendations
Update Glances to version 4.5.5.
As a temporary mitigation, disable the version check feature by setting
check update = false in the configuration.
Restrict the permissions of the Glances cache directory to 0700 to prevent unauthorized write access.Exploit
Fix
DoS
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Glance
Red Os