Intel

AIKIDO-2026-405872

glances is vulnerable to OS Command Injection

OS Command InjectionCVE-2026-68519 Published 4 days ago

78

High Risk

This Affects:

PYTHONglances
4.5.5 - 4.5.5
Fixed in 4.5.6
Are you affected? Scan for Free

TL;DR

Glances runs on-alert action commands defined in the configuration file through secure_popen(), which interprets the shell operators &&, | and >. The --disable-config-exec protection that stops operator interpretation for AMP command values is not applied to the on-alert action command path. With --disable-config-exec enabled, a configured alert action still has these operators interpreted, allowing file redirection, command chaining and piping at the privilege of the Glances process when the alert fires. The fix propagates the disable flag into the action command path so operators are no longer interpreted.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run Glances with --disable-config-exec and rely on it to neutralise shell operators in configuration-defined on-alert action commands.

Background info

glances is vulnerable to OS Command Injection in versions 4.5.5 - 4.5.5.

How to fix this

Upgrade the glances library to the patch version.