OS Command Injection Affecting glances package, versions <4.5.5+dfsg-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.19% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-GLANCES-17496173
  • published26 Jun 2026
  • disclosed25 Jun 2026

Introduced: 25 Jun 2026

CVE-2026-46606  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:14 glances to version 4.5.5+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glances package and not the glances package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.