CVE-2026-46606
HIGH 7.8CVSS 3.1Glances is Vulnerable to Command Injection via KVM/QEMU VM Domain Names in glances/plugins/vms/engines/virsh.py
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.5, the Glances KVM/QEMU monitoring engine (glances/plugins/vms/engines/virsh.py) passes VM domain names, read directly from virsh list --all output, into f-string command templates that are processed by secure_popen(). secure_popen() is explicitly designed to interpret &&, |, and > as shell operators. Because domain names are never sanitised before interpolation, any user with the ability to create or rename a KVM/QEMU virtual machine can execute arbitrary commands as the OS user running Glances — commonly root on hypervisor hosts. 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-78
- Also known as
- GHSA-v5r2-qh84-fjx5PYSEC-2026-2497
- Sources
- NVDJSONOSV GHSA-v5r2-qh84-fjx5JSONOSV PYSEC-2026-2497JSON
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.5.5 | 4.5.5 |
References
- https://github.com/nicolargo/glances/releases/tag/v4.5.5 · WEB
- https://github.com/nicolargo/glances/security/advisories/GHSA-v5r2-qh84-fjx5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-46606 · ADVISORY
- https://github.com/advisories/GHSA-v5r2-qh84-fjx5 · ADVISORY
- https://github.com/nicolargo/glances · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/glances/PYSEC-2026-2497.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:12 UTC · OSV: first stored (published 22 Jun 2026)