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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-17T17:07:49.364Z
- Modified: 2026-10-23T16:10:00.313Z
- Also known as: GHSA-73wf-9vmv-5pv9, PYSEC-2026-3666
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- nicolargo glances: >= 4.5.2, < 4.5.6
- glances (PyPI): from 4.5.2 before 4.5.6

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/nicolargo/glances/security/advisories/GHSA-73wf-9vmv-5pv9> (exploit, web)
- <https://github.com/nicolargo/glances/commit/ea4cf2f54f0d961e24aa0b24fff9584bab39db93> (web)
- <https://github.com/nicolargo/glances/releases/tag/v4.5.6> (web)
- <https://github.com/nicolargo/glances> (package)
- <https://pypi.org/project/glances> (package)
- <https://github.com/advisories/GHSA-73wf-9vmv-5pv9> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62982> (advisory)

## Sources

- CVE List: [CVE-2026-62982](https://www.cve.org/CVERecord?id=CVE-2026-62982), CVE Terms of Use, modified 2026-08-17
- GitHub Advisory Database: [GHSA-73wf-9vmv-5pv9](https://github.com/advisories/GHSA-73wf-9vmv-5pv9), CC-BY-4.0, modified 2026-08-19
- NVD: [CVE-2026-62982](https://nvd.nist.gov/vuln/detail/CVE-2026-62982), Public domain, modified 2026-10-23
- PyPA Advisory Database: [PYSEC-2026-3666](https://osv.dev/vulnerability/PYSEC-2026-3666), CC-BY-4.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-62982 · Whole record: https://cve.day/CVE-2026-62982.json · Rebuilt by cve.day 2026-11-25T22:59:33.372Z
