What’s Vulnerable › Vulnerabilities
CVE-2026-35588: Glances has CQL Injection in its Cassandra Export Module via Unsanitized Config Values
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-21 · updated 2026-10-26
- Weakness: CWE-89
Description
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.
Affected products
- nicolargo glances: before 4.5.4 — fixed in 4.5.4
How to fix
Upgrade to a fixed version: nicolargo glances 4.5.4. Check the vendor advisory for mitigations.
References
- https://github.com/nicolargo/glances/commit/d339181f03a14bb15506307e9d58f876e23d8160
- https://github.com/nicolargo/glances/commit/e41b665576f9fd5374e3152078726cc59a01e48c
- https://github.com/nicolargo/glances/security/advisories/GHSA-grp3-h8m8-45p7
- https://github.com/nicolargo/glances/security/advisories/GHSA-grp3-h8m8-45p7
Get alerted when CVE-2026-35588 or the next vulnerability affects your stack