Vulnerability · Published Apr 20, 2026 · Assigned by GitHub_M
CVE-2026-35588Glances has CQL Injection in its Cassandra Export Module via Unsanitized Config Values
Medium 6.3
In plain English
A medium-severity SQL injection in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | glances | no fix listed | DEBIAN-CVE-2026-35588 |
| Debian:13 | glances | no fix listed | DEBIAN-CVE-2026-35588 |
| Debian:14 | glances | 4.5.4+dfsg-1 | DEBIAN-CVE-2026-35588 |
| PyPI | glances | 4.5.4 | GHSA-grp3-h8m8-45p7 |
| PyPI | glances | 4.5.4 | PYSEC-2026-2177 |
| Ubuntu:22.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-35588 |
| Ubuntu:24.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-35588 |
| Ubuntu:25.10 | glances | no fix listed | UBUNTU-CVE-2026-35588 |
| Ubuntu:26.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-35588 |
| Ubuntu:26.10 | glances | no fix listed | UBUNTU-CVE-2026-35588 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L