{"id":"CVE-2026-46606","published":"2026-06-25T18:02:14Z","modified":"2026-06-25T18:29:51Z","title":"Glances: Command Injection via KVM/QEMU VM Domain Names in glances/plugins/vms/engines/virsh.py","vendor":"nicolargo","product":"glances","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00191,"percentile":0.08944,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-v5r2-qh84-fjx5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolargo/glances/releases/tag/v4.5.5","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.79},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"nicolargo","affectedVersions":[{"vendor":"nicolargo","product":"glances","versions":["< 4.5.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-25T18:29:22.087082Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"glances","vulnerableRanges":["<4.5.5"],"patched":["4.5.5"],"from":["GHSA-v5r2-qh84-fjx5","PYSEC-2026-2497"],"provenance":"source"}],"summary":{"text":"Glances, the cross-platform system monitoring tool, has an OS command injection flaw in its KVM/QEMU monitoring engine (glances/plugins/vms/engines/virsh.py) prior to 4.5.5, where VM domain names taken from virsh output are interpolated unsanitised into commands run through secure_popen(), which interprets shell operators such as &&, |, and >. An attacker with local access and low privileges who can create or rename a KVM/QEMU virtual machine can run arbitrary commands as the user running Glances, commonly root on hypervisor hosts, without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:12Z"},"euvd":{"id":"EUVD-2026-39516","exploited":false,"provenance":"source"}}