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

Source: https://junglewise.ai/threats/cve-2026-35588-glances-has-cql-injection-in-its-cassandra-export-module-via  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-21. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-35588 · Severity: medium · CVSS 6.3 · Published 2026-04-21

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.

Technologies: [Nicolargo Glances](https://junglewise.ai/threats/technologies/nicolargo-glances), [glances (PyPI)](https://junglewise.ai/threats/technologies/glances). Vendors: [Nicolargo](https://junglewise.ai/threats/vendors/nicolargo), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-35588 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-35588 being exploited in the wild.

**How severe is CVE-2026-35588?** Medium severity, with a CVSS score of 6.3, published 21 April 2026.

**Which products and versions are affected?** glances (PyPI) < 4.5.4, ECOSYSTEM:introduced=0,fixed=4.5.4.

**Is there a fix for CVE-2026-35588?** Yes. glances (PyPI): upgrade to 4.5.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-35588?** Check whether you run Nicolargo Glances or glances (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- glances (PyPI): upgrade to 4.5.4 or later

  ```sh
  pip install "glances>=4.5.4"
  ```


## Affected products

- Nicolargo Glances
- glances (PyPI) < 4.5.4, ECOSYSTEM:introduced=0,fixed=4.5.4

## Identifiers

- CVE-2026-35588
- GHSA-grp3-h8m8-45p7
- PYSEC-2026-2177

## References

- [https://api.github.com/users/morimori-dev](https://api.github.com/users/morimori-dev)
- [https://github.com/morimori-dev](https://github.com/morimori-dev)
- [https://api.github.com/users/morimori-dev/gists%7B/gist_id%7D](https://api.github.com/users/morimori-dev/gists%7B/gist_id%7D)
- [https://api.github.com/users/morimori-dev/repos](https://api.github.com/users/morimori-dev/repos)
- [https://avatars.githubusercontent.com/u/60306789?v=4](https://avatars.githubusercontent.com/u/60306789?v=4)
- [https://api.github.com/users/morimori-dev/events%7B/privacy%7D](https://api.github.com/users/morimori-dev/events%7B/privacy%7D)

## Related threats

- [Glances as_dict_secure credential leak in API config endpoint](https://junglewise.ai/threats/cve-2026-68520-glances-as-dict-secure-credential-leak-in-api-config-endpoint)
- [Glances incomplete fix in alert action command execution](https://junglewise.ai/threats/cve-2026-68519-glances-incomplete-fix-in-alert-action-command-execution)
- [Glances incomplete command injection sanitizer fix in nested stat values](https://junglewise.ai/threats/cve-2026-62982-glances-incomplete-command-injection-sanitizer-fix-in-nested-stat)
- [Glances command injection via cross-field shell-operator reconstruction](https://junglewise.ai/threats/cve-2026-68518-glances-command-injection-via-cross-field-shell-operator)
- [Glances REST API CORS credentials bypass via wildcard in multi-origin list](https://junglewise.ai/threats/cve-2026-68517-glances-rest-api-cors-credentials-bypass-via-wildcard-in-multi)
