Bug 2493125 (CVE-2026-53925) - CVE-2026-53925 glances: Glances: Command injection allows arbitrary code execution
Summary: CVE-2026-53925 glances: Glances: Command injection allows arbitrary code exec...
Keywords:
Status: NEW
Alias: CVE-2026-53925
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2494487 2494488
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-25 19:03 UTC by OSIDB Bzimport
Modified: 2026-06-29 16:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-25 19:03:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.