Command injection in glances - CVE-2026-53925
Published: August 3, 2026
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.