Description
Glances is an open-source system cross-platform monitoring tool. From 4.5.2 until 4.5.6, _sanitize_mustache_dict() in glances/actions.py skips nested list and dictionary strings such as process cmdline values, allowing pipe characters to survive chevron.render() and be executed by secure_popen() through administrator-configured action templates. This issue is fixed in 4.5.6.
Published: 2026-08-17
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Glances, a cross‑platform monitoring tool, contains a flaw in its action‑template sanitizer that allows pipe characters to survive the rendering of process command line values. When these values are passed to the mustache template engine, the embedded characters are not escaped, enabling arbitrary shell commands to be executed through the secure_popen call. This results in OS command injection, allowing an attacker to run commands with the privileges of the process that invokes the template.

Affected Systems

The vulnerability affects the open‑source Glances tool from nicolargo for versions 4.5.2 through 4.5.5. The issue was addressed in the 4.5.6 release.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, and no EPSS data is available, but the flaw is not listed in CISA’s KEV catalog. Attackers would typically need access to configure or modify administrator‑supplied action templates to exploit the flaw. Once the malicious template is used, arbitrary commands can be executed on the host, compromising confidentiality, integrity, and availability of the affected system.

Generated by OpenCVE AI on August 17, 2026 at 18:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Glances to version 4.5.6 or later.
  • Review and reject any administrator‑configured action templates that incorporate raw process cmdline values, removing unescaped characters.
  • If upgrade is not immediately possible, temporarily disable action templates until a patched version is applied.

Generated by OpenCVE AI on August 17, 2026 at 18:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-73wf-9vmv-5pv9 Glances: Incomplete fix of CVE-2026-32608: action-template sanitizer is bypassed by nested stat values (process 'cmdline') → OS command injection
History

Mon, 17 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Nicolargo
Nicolargo glances
Vendors & Products Nicolargo
Nicolargo glances

Mon, 17 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Description Glances is an open-source system cross-platform monitoring tool. From 4.5.2 until 4.5.6, _sanitize_mustache_dict() in glances/actions.py skips nested list and dictionary strings such as process cmdline values, allowing pipe characters to survive chevron.render() and be executed by secure_popen() through administrator-configured action templates. This issue is fixed in 4.5.6.
Title Glances: Incomplete fix of CVE-2026-32608: action-template sanitizer is bypassed by nested stat values (process 'cmdline') → OS command injection
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Nicolargo Glances
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T18:53:15.749Z

Reserved: 2026-07-14T22:48:09.781Z

Link: CVE-2026-62982

cve-icon Vulnrichment

Updated: 2026-08-17T18:52:44.123Z

cve-icon NVD

Status : Received

Published: 2026-08-17T18:17:56.740

Modified: 2026-08-17T19:16:33.427

Link: CVE-2026-62982

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T19:00:05Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')