Command injection in glances - CVE-2026-53925

 

Command injection in glances - CVE-2026-53925

Published: August 3, 2026


Vulnerability identifier: #VU140765
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-53925
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary commands and write arbitrary files.

The vulnerability exists due to improper neutralization of special elements in secure_popen() when processing AMP command or service_cmd configuration values from glances.conf. A local user can modify configuration values to inject redirection, piping, or command chaining operators to execute arbitrary commands and write arbitrary files.

The issue is not limited by the disable_config_exec setting because the vulnerable behavior occurs in secure_popen() operator handling after configuration values are loaded.


Affected software

glances

How to mitigate CVE-2026-53925

Install security update from vendor's website.

glances - update to 4.5.5

External References

Related Security Bulletins