Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-46606: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nicolargo glances

0
High
VulnerabilityCVE-2026-46606cvecve-2026-46606cwe-78
Published: 06/25/2026 (06/25/2026, 18:02:14 UTC)
Source: CVE Database V5
Vendor/Project: nicolargo
Product: glances

Description

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.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
nicolargo/glances
pkg:github/nicolargo/glances
Affected versions
<4.5.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/25/2026, 18:47:41 UTC

Technical Analysis

CVE-2026-46606 is an OS command injection vulnerability in the glances/plugins/vms/engines/virsh.py component of Glances before version 4.5.5. The vulnerability occurs because VM domain names from virsh list --all output are directly interpolated into f-string command templates executed by secure_popen(), which interprets shell operators such as &&, |, and >. Since domain names are not sanitized, an attacker with permission to create or rename KVM/QEMU virtual machines can inject arbitrary shell commands executed with the OS user privileges running Glances, commonly root on hypervisor hosts. This can lead to full system compromise. The vulnerability has a CVSS 3.1 score of 7.8 (high severity) and is fixed in Glances 4.5.5.

Potential Impact

An attacker with the ability to create or rename KVM/QEMU virtual machines on a host running a vulnerable Glances version can execute arbitrary OS commands with the privileges of the Glances process, which is often root. This can lead to complete system compromise, including confidentiality, integrity, and availability impacts.

Mitigation Recommendations

Upgrade Glances to version 4.5.5 or later, where this vulnerability is fixed. There is no indication of any temporary or alternative mitigations. Patch status is confirmed fixed in 4.5.5.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-15T19:34:14.011Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3d73fb4853345fc14dfa22

Added to database: 06/25/2026, 18:31:23 UTC

Last enriched: 06/25/2026, 18:47:41 UTC

Last updated: 06/25/2026, 20:56:49 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses