Vulnerability · Published Jun 25, 2026 · Assigned by GitHub_M

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

High 7.8

In plain English

A high-severity OS command injection in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 91.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13glancesno fix listedDEBIAN-CVE-2026-46606
Debian:14glances4.5.5+dfsg-1DEBIAN-CVE-2026-46606
PyPIglances4.5.5GHSA-v5r2-qh84-fjx5
PyPIglances4.5.5PYSEC-2026-2497
Ubuntu:22.04:LTSglancesno fix listedUBUNTU-CVE-2026-46606
Ubuntu:24.04:LTSglancesno fix listedUBUNTU-CVE-2026-46606
Ubuntu:25.10glancesno fix listedUBUNTU-CVE-2026-46606
Ubuntu:26.04:LTSglancesno fix listedUBUNTU-CVE-2026-46606

Affected products (as reported)

VendorProductVersions
nicolargo glances < 4.5.5

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References