CVE-2026-46606
Glances is an open-source system cross-platform monitoring tool. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nicolargo/glances/security/advisories/GHSA-v5r2-qh84-fjx5
- github.com/nicolargo/glances/releases/tag/v4.5.5
- github.com/advisories/GHSA-v5r2-qh84-fjx5
- nvd.nist.gov/vuln/detail/CVE-2026-46606
- github.com/nicolargo/glances
- github.com/pypa/advisory-database/tree/main/vulns/glances/PYSEC-2026-2497.yaml
- pypi.org/project/glances
- nvd.nist.gov/vuln/detail/CVE-2026-46606
- cve.org/CVERecord?id=CVE-2026-46606
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.