{"cve":"CVE-2026-32608","nvd":{"published":"2026-03-18T07:16:21.447","modified":"2026-06-17T10:36:05.527","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.0},"cwes":["CWE-78"],"references":["https://github.com/nicolargo/glances/commit/6f4ec53d967478e69917078e6f73f448001bf107","https://github.com/nicolargo/glances/releases/tag/v4.5.2","https://github.com/nicolargo/glances/security/advisories/GHSA-vcv2-q258-wrg7"],"products":["nicolargo:glances"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-32608","score":0.00247,"percentile":0.16038,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vcv2-q258-wrg7","url":"https://osv.dev/vulnerability/GHSA-vcv2-q258-wrg7","summary":"Glances has a Command Injection via Process Names in Action Command Templates","modified":"2026-07-13T07:26:49.975962755Z","packages":[{"ecosystem":"PyPI","name":"glances","purl":"pkg:pypi/glances","ranges":["<4.5.2"],"fixed":["4.5.2"]}]},{"id":"PYSEC-2026-2167","url":"https://osv.dev/vulnerability/PYSEC-2026-2167","summary":"","modified":"2026-07-13T07:15:31.492684142Z","packages":[{"ecosystem":"PyPI","name":"glances","purl":"pkg:pypi/glances","ranges":["<4.5.2"],"fixed":["4.5.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}