Path traversal in nicolargo glances
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nicolargo | glances | 4.0.8 to before 4.5.5 | 4.5.5 | Patch available | CNA |
| — | glances (PyPI) | 4.0.8 to before 4.5.5 | 4.5.5 | Patch available | GHSA-3vwc-qwhc-3mj7 |
- glances Vendornicolargo Affected 4.0.8 to before 4.5.5 Fixed in 4.5.5 Patch available CNA
- glances (PyPI) Vendor— Affected 4.0.8 to before 4.5.5 Fixed in 4.5.5 Patch available GHSA-3vwc-qwhc-3mj7
Remediation
- Fix · CNA glances (nicolargo) Fixed in 4.5.5
- Fix · GHSA-3vwc-qwhc-3mj7 glances (PyPI) Fixed in 4.5.5 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-53925
- 2026-10-03 Alias added: GHSA-3vwc-qwhc-3mj7
References
Advisory 2
More nicolargo vulnerabilities
- TI-2026-25142 Glances's Browser API Exposes Reusable Downstream Credentials via `/api/4/serverslist` CVSS 3.1CRITICAL 9.1
- TI-2026-25106 Glances exposes the REST API without authentication CVSS 4.0HIGH 8.7
- TI-2026-48284 Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction CVSS 4.0HIGH 8.8
- TI-2026-44988 OS command injection in nicolargo glances CVSS 3.1HIGH 8.8
- TI-2026-27083 Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS CVSS 4.0HIGH 7.7
- TI-2026-25120 Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-53925 · CVE Program
- CVE-2026-53925 · NVD
- FIRST EPSS
- GHSA-3vwc-qwhc-3mj7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-53925 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences