OS Command Injection Affecting glances package, versions *


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-ECHOLATEST-GLANCES-22586867
  • published18 Nov 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?

There is no fixed version for Echo:latest glances.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glances package and not the glances package as distributed by Echo. See How to fix? for Echo:latest 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.