Skip to main content

Glances CVE-2026-35588

| EUVDEUVD-2026-23992 MEDIUM
SQL Injection (CWE-89)
2026-04-21 security-advisories@github.com GHSA-grp3-h8m8-45p7
6.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Compromise administrator account
  2. Delivery
    Modify glances.conf keyspace/table/replication_factor
  3. Exploit
    Inject CQL metacharacters
  4. Execution
    Glances exports metrics using crafted statement
  5. Persist
    Arbitrary CQL execution
  6. Impact
    Data exfiltration or infrastructure disruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Write access to the Glances configuration file (glances.conf) is required. The Cassandra export module must be enabled in configuration. The attacker must have local system access sufficient to modify the config file - typically this requires compromised administrator/root account, or a privilege escalation vulnerability chained with this one. Default Glances installations may restrict config file access to root, limiting exposure; however, shared hosting, multi-tenant systems, or environments with overly permissive file permissions increase risk. No special Cassandra database configuration is required; the vulnerable code path is executed whenever the export module attempts to send metrics. Exploitation does not require user interaction (UI:N) or rely on non-default configurations - only that the Cassandra export is enabled and config file is writable by the attacker.

Impact

CVSS 6.3 (Medium) with local attack vector (AV:L), high privilege requirement (PR:H), and no user interaction indicates a moderately scoped threat constrained by access requirements. The EPSS and KEV status are not provided in input data, limiting exploitation probability assessment. The attack vector is strictly local (AV:L) and requires high privilege (PR:H - only administrators with configuration file write access can exploit), significantly reducing real-world risk compared to unauthenticated network exploits. However, the confidentiality and integrity impacts are rated High, meaning a compromised admin account or supply-chain compromise of the config file could result in complete redirection of monitoring data to attacker infrastructure. The attack complexity is low (AC:L), indicating no special conditions beyond write access are needed. This is a privilege-escalation risk within environments where Glances runs with elevated privileges and admins may be compromised, social-engineered, or where config files lack proper access controls. In environments where Glances runs as an unprivileged user or config file permissions are strictly enforced (e.g., readable only by root), real-world exploitability is significantly lower than the CVSS score suggests. No data on public exploitability, active exploitation, or POC availability was provided, so assessment is limited to CVSS indicators and description analysis.

Exploit ScenarioDerived

A system administrator's account on a Glances-monitoring host is compromised via phishing or credential reuse. The attacker modifies glances.conf to change the Cassandra keyspace to 'attacker_keyspace' and replication_factor to a malicious CQL fragment such as '1; DROP KEYSPACE monitoring;'. When Glances next exports metrics, the CQL statement is malformed or executes the injected command, either exfiltrating monitoring data to an attacker-controlled Cassandra instance or disrupting the legitimate monitoring infrastructure. Alternatively, a disgruntled admin could perform the same modification to sabotage monitoring.

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

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

Alert me

AnalysisAIv1 – Apr 21, 2026

Cassandra export module in Glances prior to version 4.5.4 allows local privilege-escalated users to redirect monitoring data to attacker-controlled databases by injecting CQL statements through unvalidated configuration parameters. An authenticated local attacker with write access to the Glances configuration file can modify keyspace, table, and replication_factor settings to execute arbitrary CQL, enabling data exfiltration or denial of service against the monitoring infrastructure. This vulnerability requires elevated local access but carries high confidentiality and integrity impact.

RemediationAI

Upgrade Glances to version 4.5.4 or later; vendor-released patched version is confirmed. Administrators should immediately update via their package manager (pip install --upgrade glances, or distro package manager equivalent). Until patching is possible, restrict write access to glances.conf file to root or the Glances service account only, using filesystem permissions (chmod 600 or stricter). Disable the Cassandra export module entirely if not in use by removing the [cassandra] section from glances.conf or setting enabled = false. If Cassandra export is required, implement configuration file integrity monitoring (e.g., via auditd or file integrity monitoring tools) to alert on unauthorized modifications. Restrict access to the machine running Glances to trusted administrators only, as this vulnerability inherently requires local administrative privilege. The tradeoff of these controls: disabling the module loses monitoring capability; read-only config files require planned updates to configuration; integrity monitoring adds operational overhead but provides detection capability.

Affected VersionsENISA

Glances < 4.5.4
Glances < 4.5.4

Affected Packages

pypi glances fix: 4.5.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

Glances is a system monitoring tool that includes pluggable export modules for sending metrics to various backends. The Cassandra export module (located in glances/exports/glances_cassandra/__init__.py) constructs CQL (Cassandra Query Language) statements by directly concatenating user-supplied configuration values from glances.conf without parameterization or validation. CQL is the query language for Apache Cassandra databases, functionally analogous to SQL in relational databases. The vulnerability is classified as CWE-89 (SQL Injection) - the underlying root cause is improper neutralization of special elements used in a database query. Affected versions prior to 4.5.4 fail to use prepared statements or input validation when building queries with keyspace, table name, and replication_factor parameters, allowing an attacker to break out of the intended query context and inject arbitrary CQL commands.

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) PRIMARY 6.3 MEDIUM
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
SUSE MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

3
Patch released
Apr 22, 2026 - 18:40 nvd
Patch available
Patch available
Apr 21, 2026 - 16:01 EUVD
CVE Published
Apr 21, 2026 - 00:16 nvd
MEDIUM 6.3

DescriptionCVE.org

Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.4, the Cassandra export module (glances/exports/glances_cassandra/__init__.py) interpolates keyspace, table, and replication_factor configuration values directly into CQL statements without validation. A user with write access to glances.conf can redirect all monitoring data to an attacker-controlled Cassandra keyspace. Version 4.5.4 contains a fix.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.0%
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
Scheduled
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

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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-133465 MEDIUM
6.5 Nov 25

Argument injection in Glances on-alert action handling, in versions prior to 4.5.7, lets an attacker who can influence a

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

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
openSUSE Tumbleweed Fixed

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