CVE-2026-68519 Glances: `--disable-config-exec` does not cover on-alert action commands (incomplete fix of CVE-2026-53925)

High 7.1 Published Updated

Glances allows command injection via on-alert actions despite the disable-config-exec flag, enabling remote code execution for attackers with configuration access.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-68519?

CVE-2026-68519 is a high-severity command injection vulnerability in nicolargo glances, published on 17 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, GlancesActions.run() in glances/actions.py ignores --disable-config-exec for on-alert action commands and invokes secure_popen() with shell operators enabled, allowing configured redirection, command chaining, or pipes to execute when an alert triggers. This issue is fixed in 4.5.6.

Weakness: CWE-78

Which versions are affected by CVE-2026-68519?

3 open source packages ship an affected version, including glances.

PackageAffectedFixed in
glances PyPIAll versions4.5.6
glances PyPIAll versions4.5.6
glances PyPIAll versions4.5.6

How do I fix CVE-2026-68519?

Upgrade glances to 4.5.6 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-68519 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-68519 exists.

Sources

Also known as DEBIAN-CVE-2026-68519, GHSA-59fj-m2j6-hcxh, PYSEC-2026-3665, UBUNTU-CVE-2026-68519.

Is CVE-2026-68519 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free