Skip to main content
VulnerabilityPublished

CVE-2026-32608: nicolargo glances · OS Command Injection

Affects nicolargo glancesSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.0 High : upgrade to 4.5.2 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
7.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.5.2
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade glances and nicolargo/glances to 4.5.2.

Affected software

ProductAffectedFixed in
nicolargoglancesAffected
  • <4.5.2
Fixed in
  • 4.5.2
GitHubnicolargo/glancespkg:github/nicolargo/glancesOther threatsAffected
  • <4.5.2
Fixed in
  • 4.5.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade Glances to version 4.5.2 or later, where the vulnerability is fixed. Until upgrading, organizations should audit and restrict the use of custom action commands that incorporate Mustache template variables, especially those that may include user- or process-controlled data. Avoid using untrusted input in command templates and consider disabling the action system if not required. Implement strict access controls to limit who can create or modify monitored processes, containers, or filesystem mounts to reduce the risk of injection. Additionally, monitor logs for suspicious command executions and anomalous process or container names containing shell metacharacters. Employ application whitelisting and endpoint detection to detect and prevent unauthorized command execution. Finally, consider running Glances with the least privileges necessary and within isolated environments to contain potential exploitation impact.

Description

Glances is an open-source system cross-platform monitoring tool. The Glances action system allows administrators to configure shell commands that execute when monitoring thresholds are exceeded. These commands support Mustache template variables (e.g., `{{name}}`, `{{key}}`) that are populated with runtime monitoring data. The `secure_popen()` function, which executes these commands, implements its own pipe, redirect, and chain operator handling by splitting the command string before passing each segment to `subprocess.Popen(shell=False)`. Prior to 4.5.2, when a Mustache-rendered value (such as a process name, filesystem mount point, or container name) contains pipe, redirect, or chain metacharacters, the rendered command is split in unintended ways, allowing an attacker who controls a process name or container name to inject arbitrary commands. Version 4.5.2 fixes the issue.

References

Community reviews

Loading reviews…