cve.bz

CVE-2026-46606 nicolargo glances: OS Command Injection

7.8 highEPSS 0.2%Fix available

High (7.8) in nicolargo glances. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in glances 4.5.5.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-06-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-46606 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-46606?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-46606?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-46606 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nicolargo glances< 4.5.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v5r2-qh84-fjx5PyPIglances<4.5.54.5.5
PYSEC-2026-2497PyPIglances<4.5.54.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13glancesno fix listedDEBIAN-CVE-2026-46606
Debian14glances4.5.5+dfsg-1DEBIAN-CVE-2026-46606
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 4 moreglancesno fix listedUBUNTU-CVE-2026-46606
openSUSETumbleweedpython-Glances4.5.5-1.1openSUSE-SU-2026:11122-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important severity because local authenticated users capable of creating or modifying virtual machine names can achieve arbitrary code execution under the privileges of the monitoring daemon, which frequently executes with root access on hypervisor systems. While exploitation requires existing privileges to define or alter libvirt guests, the resulting compromise grants full administrative control over the underlying host. Glances is not shipped in core Red Hat Enterprise Linux and is only distributed through Extra Packages for Enterprise Linux (EPEL) or Fedora repositories.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-46606.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON