# CVE-2026-46606: Glances: Command Injection via KVM/QEMU VM Domain Names in glances/plugins/vms/engines/virsh.py

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-22T21:14:06.000Z
- Modified: 2026-10-25T22:10:00.150Z
- Also known as: GHSA-v5r2-qh84-fjx5, PYSEC-2026-2497
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nicolargo glances: < 4.5.5
- glances (PyPI): before 4.5.5

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nicolargo/glances/security/advisories/GHSA-v5r2-qh84-fjx5> (exploit, web)
- <https://github.com/nicolargo/glances/releases/tag/v4.5.5> (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> (package, web)

## Sources

- CVE List: [CVE-2026-46606](https://www.cve.org/CVERecord?id=CVE-2026-46606), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-v5r2-qh84-fjx5](https://github.com/advisories/GHSA-v5r2-qh84-fjx5), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-46606](https://nvd.nist.gov/vuln/detail/CVE-2026-46606), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2497](https://osv.dev/vulnerability/PYSEC-2026-2497), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-46606 · Whole record: https://cve.day/CVE-2026-46606.json · Rebuilt by cve.day 2026-11-25T22:59:26.408Z
