# CVE-2026-35588: Glances has CQL Injection in its Cassandra Export Module via Unsanitized Config Values

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T23:20:34.998Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-grp3-h8m8-45p7, PYSEC-2026-2177
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nicolargo glances: < 4.5.4; before 4.5.4
- glances (PyPI): before 4.5.4

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/nicolargo/glances/security/advisories/GHSA-grp3-h8m8-45p7> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://github.com/nicolargo/glances/commit/d339181f03a14bb15506307e9d58f876e23d8160> (fix, patch, web)
- <https://github.com/nicolargo/glances/commit/e41b665576f9fd5374e3152078726cc59a01e48c> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35588> (advisory)
- <https://github.com/nicolargo/glances> (package)

## Sources

- CVE List: [CVE-2026-35588](https://www.cve.org/CVERecord?id=CVE-2026-35588), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-grp3-h8m8-45p7](https://github.com/advisories/GHSA-grp3-h8m8-45p7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-35588](https://nvd.nist.gov/vuln/detail/CVE-2026-35588), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2177](https://osv.dev/vulnerability/PYSEC-2026-2177), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-35588 · Whole record: https://cve.day/CVE-2026-35588.json · Rebuilt by cve.day 2026-11-25T22:59:19.071Z
