OS Command Injection in glances - CVE-2026-68518
Published: August 3, 2026
Vulnerability details
The vulnerability allows a local user to execute arbitrary commands.
The vulnerability exists due to improper neutralization of special elements used in an OS command in the Glances action template rendering and execution pipeline when concatenating two adjacent unescaped Mustache variables in an administrator-configured action template. A local user can control neighboring stat fields so that shell operators are reconstructed across field boundaries to execute arbitrary commands.
Exploitation requires an administrator-configured action template that uses adjacent unescaped Mustache variables without a separator.