CVE-2026-53925 json
Glances: Arbitrary file write and command execution via `secure_popen` redirection and chaining operators in AMP command configuration
published 4mo ago modified 17d ago also EUVD-2026-39518 , GHSA-3vwc-qwhc-3mj7 , PYSEC-2026-2494
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi glances 4.5.5
- glances_project glances 4.5.5
- nicolargo glances 4.5.5
- glances Debian 14 4.5.5+dfsg-1
debian advisories DEBIAN-CVE-2026-53925
- python-Glances openSUSE Tumbleweed 4.5.5-1.1
opensuse advisories openSUSE-SU-2026:11122-1
Is CVE-2026-53925 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-53925 updated cvss 7.8
glances: Glances: Command injection allows arbitrary code execution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 4mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/nicolargo/glances/security/advisories/GHSA-3vwc-qwhc-3mj7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | glances | >=4.0.8, <4.5.5 |
4.5.5 |
Affected products
- nicolargo glances
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/nicolargo/glances/security/advisories/GHSA-3vwc-qwhc-3mj7
exploit, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-53925
advisory
-
github.com
/advisories/GHSA-3vwc-qwhc-3mj7
advisory
-
github.com
/nicolargo/glances
package
-
github.com
/nicolargo/glances/releases/tag/v4.5.5
web
-
github.com
/pypa/advisory-database/tree/main/vulns/glances/PYSEC-2026-2494.yaml
web
-
pypi.org
/project/glances
web, package
Sources
- CVE List CVE-2026-53925
- GitHub Advisory GHSA-3vwc-qwhc-3mj7
- NVD CVE-2026-53925
- OSV PYSEC-2026-2494
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.