NetSight
high8.8

CVE-2026-68518

Glances has a command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction

Impact

Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, _sanitize_mustache_dict() in glances/actions.py sanitizes individual Mustache values before chevron.render(), allowing adjacent unescaped Mustache variables to reconstruct shell operators that secure_popen() executes when attacker-controlled process or container fields are rendered by an administrator-configured action template. This issue is fixed in 4.5.6.

Affected packages

EcosystemPackageAffectedFixed in
pipglances<= 4.5.54.5.6

Weakness classification

References