OS Command Injection in glances - CVE-2026-62982

 

OS Command Injection in glances - CVE-2026-62982

Published: August 3, 2026


Vulnerability identifier: #VU140772
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-62982
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary commands.

The vulnerability exists due to improper neutralization of special elements in action command templates when rendering nested process stat values such as cmdline. A local user can supply a specially crafted process command line to execute arbitrary commands.

Exploitation requires a configured alert action template that renders a nested stat field, such as the process cmdline, and Glances must be able to enumerate the attacker's process.


Affected software

glances

How to mitigate CVE-2026-62982

Install security update from vendor's website.

glances - update to 4.5.6

External References

Related Security Bulletins