CVE-2026-53925
HIGH 7.8CVSS 3.1Glances has arbitrary file write and command execution via `secure_popen` redirection and chaining operators in AMP command configuration
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.
- Published
- 25 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-3vwc-qwhc-3mj7PYSEC-2026-2494
- Sources
- NVDJSONOSV GHSA-3vwc-qwhc-3mj7JSONOSV PYSEC-2026-2494JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | glances | >= 4.0.8, < 4.5.5 | 4.5.5 |
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-3vwc-qwhc-3mj7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-53925 · ADVISORY
- https://github.com/advisories/GHSA-3vwc-qwhc-3mj7 · ADVISORY
- https://github.com/nicolargo/glances · PACKAGE
- https://github.com/nicolargo/glances/releases/tag/v4.5.5 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/glances/PYSEC-2026-2494.yaml · WEB
- https://pypi.org/project/glances · WEB, PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Jun 2026)