Command Injection Affecting glances package, versions [,4.5.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th 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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GLANCES-17670539
  • published29 Jun 2026
  • disclosed22 Jun 2026
  • creditUnknown

Introduced: 22 Jun 2026

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

How to fix?

Upgrade Glances to version 4.5.5 or higher.

Overview

Glances is an A cross-platform curses-based monitoring tool

Affected versions of this package are vulnerable to Command Injection in the secure_popen process when unsanitized VM domain names from KVM/QEMU are passed directly into command templates. An attacker can execute arbitrary commands as the operating system user running the process by creating or renaming a virtual machine with a crafted domain name containing shell operators such as &&, |, or >. This is only exploitable if the monitoring engine is configured to monitor a KVM/QEMU hypervisor with the vms plugin enabled, /usr/bin/virsh is installed and executable, and the attacker has privileges to create or rename libvirt domains.

CVSS Base Scores

version 4.0
version 3.1