Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-46607: CWE-502: Deserialization of Untrusted Data in nicolargo glances

0
High
VulnerabilityCVE-2026-46607cvecve-2026-46607cwe-502
Published: 06/25/2026 (06/25/2026, 18:04:25 UTC)
Source: CVE Database V5
Vendor/Project: nicolargo
Product: glances

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.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

glances
pkg:pypi/glances
Affected versions
<4.5.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/25/2026, 18:47:35 UTC

Technical Analysis

CVE-2026-46607 describes a deserialization of untrusted data vulnerability in nicolargo Glances before version 4.5.5. The vulnerability occurs in the glances/outdated.py component, which uses Python's pickle.load() to read a version-check cache file located at ~/.cache/glances/glances-version.db or $XDG_CACHE_HOME/glances/glances-version.db. Because the file is stored at a predictable, world-accessible path and no validation or signature verification is performed before deserialization, an attacker with write access to this file can craft a malicious pickle payload. This can lead to arbitrary code execution with the privileges of the user running Glances when it starts with version checking enabled (enabled by default). The vulnerability has a CVSS 3.1 base score of 7.8 (high severity). The issue is resolved in Glances version 4.5.5.

Potential Impact

Successful exploitation allows an attacker with write access to the cache file path to execute arbitrary code as the OS user running Glances. This can lead to full compromise of the user's environment and potentially further system impact depending on user privileges. The vulnerability affects confidentiality, integrity, and availability (all rated high).

Mitigation Recommendations

A fix is available in Glances version 4.5.5. Users should upgrade to version 4.5.5 or later to remediate this vulnerability. Until upgrading, restricting write access to the cache file path (~/.cache/glances/glances-version.db or $XDG_CACHE_HOME/glances/glances-version.db) to trusted users only can reduce risk. No vendor advisory content is provided, so patch status is based on the stated fixed version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-15T19:34:14.011Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3d73fb4853345fc14dfa26

Added to database: 06/25/2026, 18:31:23 UTC

Last enriched: 06/25/2026, 18:47:35 UTC

Last updated: 06/26/2026, 01:14:38 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses