Skip to main content
CVE-2026-68518VulnerabilityPublished Updated

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

Affects glancesSource GCVE Database

0
Compare
Authoritative record:CVE-2026-68518· High 8.8

Not known to be exploited · CVSS 8.8 High : upgrade to 4.5.6 soon.

Data as of 9 Nov 2026, 19:50 UTC

CVSS 4.0 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.5.6
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade glances to 4.5.6.

Affected software

ProductAffectedFixed in
Homebrewglancespkg:brew/glancesOther threatsAffected
  • <4.5.6
Fixed in
  • 4.5.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. The patch is available at https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994. No additional mitigation is indicated by the vendor advisory.

Description

Glances before version 4.5.6 contains a command injection vulnerability in its action template sanitizer. The sanitizer function _sanitize_mustache_dict() improperly handles adjacent Mustache variables, allowing reconstruction of shell operators. This enables execution of arbitrary commands via attacker-controlled process or container fields when rendered by an administrator-configured action template. The issue is fixed in version 4.5.6.

References

Community reviews

Loading reviews…