Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M

CVE-2026-68518Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction

High 8.8

In plain English

A high-severity OS command injection in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.8High
Exploit odds (30 days)0.2%top 93.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12glancesno fix listedDEBIAN-CVE-2026-68518
Debian:13glancesno fix listedDEBIAN-CVE-2026-68518
Debian:14glances4.5.6+dfsg-1DEBIAN-CVE-2026-68518
PyPIglances4.5.6PYSEC-2026-3668
PyPIglances4.5.6GHSA-qcpp-8x79-hhp3
Ubuntu:22.04:LTSglancesno fix listedUBUNTU-CVE-2026-68518
Ubuntu:24.04:LTSglancesno fix listedUBUNTU-CVE-2026-68518
Ubuntu:26.04:LTSglancesno fix listedUBUNTU-CVE-2026-68518

Affected products (as reported)

VendorProductVersions
nicolargo glances < 4.5.6

Weakness: CWE-78 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

References