Read the docs

Argument injection in Glances on-alert action commands via unescaped quotes

Priority MEDIUM 64CWE-88Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-88.

Summary

Glances before 4.5.7 has an argument injection flaw in the on-alert action command tokenizer in secure.py, where quote characters are treated as argument boundaries without escaping (CWE-88). A monitored stat value, such as a mount point name, placed inside a quoted action command template can contain a quote character that breaks out of its quotes and injects extra arguments into the invoked process. A local user with low privileges can exploit this without any shell operator to affect confidentiality, integrity and availability.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00335 19th percentileScored 2026-11-30
Fix Fixed glances (nicolargo): 4.5.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nicolargoglancesbefore 4.5.74.5.7Patch availableCNA
  • glances Vendornicolargo Affected before 4.5.7 Fixed in 4.5.7 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:*——nicolargo
  • cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:* Versions — — ·nicolargo

Remediation

Update Glances to version 4.5.7, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA glances (nicolargo) Fixed in 4.5.7

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-133465
  2. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-25142 Glances's Browser API Exposes Reusable Downstream Credentials via `/api/4/serverslist` CVSS 3.1CRITICAL 9.1
  • TI-2026-25106 Glances exposes the REST API without authentication CVSS 4.0HIGH 8.7
  • TI-2026-48284 Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction CVSS 4.0HIGH 8.8
  • TI-2026-44988 OS command injection in nicolargo glances CVSS 3.1HIGH 8.8
  • TI-2026-27083 Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS CVSS 4.0HIGH 7.7
  • TI-2026-25120 Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements CVSS 3.1CRITICAL 9.1
See all 25 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences