Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise administrator account
-
DeliveryModify glances.conf keyspace/table/replication_factor
-
ExploitInject CQL metacharacters
-
ExecutionGlances exports metrics using crafted statement
-
PersistArbitrary CQL execution
-
ImpactData 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.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
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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
Argument injection in Glances on-alert action handling, in versions prior to 4.5.7, lets an attacker who can influence a
Credential disclosure in Glances prior to 4.5.6 allows unauthenticated remote attackers to retrieve plaintext usernames
Same weakness CWE-89 – SQL Injection
View allVendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-23992
GHSA-grp3-h8m8-45p7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB