CVE-2026-32608
Glances has a Command Injection via Process Names in Action Command Templates
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.
INFO
Published Date :
March 18, 2026, 7:16 a.m.
Last Modified :
March 18, 2026, 6:27 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Glances to version 4.5.2 or later.
- Ensure process and container names do not contain shell metacharacters.
- Review and sanitize all user-controlled input used in commands.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-32608.
| URL | Resource |
|---|---|
| https://github.com/nicolargo/glances/commit/6f4ec53d967478e69917078e6f73f448001bf107 | Patch |
| https://github.com/nicolargo/glances/releases/tag/v4.5.2 | Product Release Notes |
| https://github.com/nicolargo/glances/security/advisories/GHSA-vcv2-q258-wrg7 | Exploit Mitigation Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-32608 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-32608
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-32608 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-32608 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 18, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:* versions up to (excluding) 4.5.2 Added Reference Type GitHub, Inc.: https://github.com/nicolargo/glances/commit/6f4ec53d967478e69917078e6f73f448001bf107 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/nicolargo/glances/releases/tag/v4.5.2 Types: Product, Release Notes Added Reference Type GitHub, Inc.: https://github.com/nicolargo/glances/security/advisories/GHSA-vcv2-q258-wrg7 Types: Exploit, Mitigation, Vendor Advisory -
New CVE Received by [email protected]
Mar. 18, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://github.com/nicolargo/glances/commit/6f4ec53d967478e69917078e6f73f448001bf107 Added Reference https://github.com/nicolargo/glances/releases/tag/v4.5.2 Added Reference https://github.com/nicolargo/glances/security/advisories/GHSA-vcv2-q258-wrg7