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-53925: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nicolargo glances

0
High
VulnerabilityCVE-2026-53925cvecve-2026-53925cwe-22
Published: 06/25/2026 (06/25/2026, 18:03:43 UTC)
Source: CVE Database V5
Vendor/Project: nicolargo
Product: glances

Description

Glances is an open-source system cross-platform monitoring tool. From 4.0.8 until 4.5.5, the secure_popen() function in glances/secure.py interprets > (file redirection), | (pipe), and && (command chaining) operators in command strings. These operators are applied without any validation on the target file path, piped command, or chained command. When Application Monitoring Process (AMP) modules load their command or service_cmd configuration values from glances.conf, those values are passed directly to secure_popen() with no sanitization. This allows an attacker who can modify the Glances configuration file to write arbitrary content to arbitrary filesystem paths (via >), chain arbitrary commands (via &&), or pipe command output to arbitrary programs (via |). 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 >=4.0.8

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:46:34 UTC

Technical Analysis

Glances, an open-source cross-platform system monitoring tool, contains a path traversal vulnerability in versions >=4.0.8 and <4.5.5. The secure_popen() function in glances/secure.py processes shell command strings containing redirection (>), pipe (|), and command chaining (&&) operators without sanitizing the inputs. When Application Monitoring Process (AMP) modules load command or service_cmd values from the glances.conf configuration file, these unsanitized values are passed directly to secure_popen(). This allows an attacker with the ability to modify the configuration file to write arbitrary content to arbitrary filesystem locations, execute chained commands, or pipe command output to arbitrary programs. The vulnerability is addressed in Glances version 4.5.5.

Potential Impact

Successful exploitation allows an attacker with write access to the Glances configuration file to perform arbitrary file writes, execute arbitrary chained commands, and pipe command outputs to arbitrary programs. This can lead to full system compromise with high confidentiality, integrity, and availability impact as indicated by the CVSS score of 7.8.

Mitigation Recommendations

A fixed version of Glances is available at 4.5.5. Users should upgrade to version 4.5.5 or later to remediate this vulnerability. Since the vulnerability requires the attacker to modify the Glances configuration file, restricting write access to this file is also a recommended security measure. Patch status is not explicitly stated in the vendor advisory, but the description confirms the issue is fixed in 4.5.5.

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-06-11T15:46:12.316Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3d73fb4853345fc14dfa32

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

Last enriched: 06/25/2026, 18:46:34 UTC

Last updated: 06/25/2026, 20:56:45 UTC

Views: 4

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