{"id":"CVE-2026-35588","published":"2026-04-20T23:20:34Z","modified":"2026-04-21T13:35:04Z","title":"Glances has CQL Injection in its Cassandra Export Module via Unsanitized Config Values","vendor":"nicolargo","product":"glances","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0022,"percentile":0.12749,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-grp3-h8m8-45p7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolargo/glances/commit/d339181f03a14bb15506307e9d58f876e23d8160","tags":["x_refsource_MISC"]},{"url":"https://github.com/nicolargo/glances/commit/e41b665576f9fd5374e3152078726cc59a01e48c","tags":["x_refsource_MISC"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":2.55},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"nicolargo","affectedVersions":[{"vendor":"nicolargo","product":"glances","versions":["< 4.5.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-21T13:35:00.699295Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"glances","vulnerableRanges":["<4.5.4"],"patched":["4.5.4"],"from":["GHSA-grp3-h8m8-45p7","PYSEC-2026-2177"],"provenance":"source"}],"summary":{"text":"The Cassandra export module of Glances, an open-source cross-platform system monitoring tool, interpolates its keyspace, table, and replication_factor configuration values directly into CQL statements without validation. An attacker who already has local access and high privileges (write access to the glances.conf configuration file) can inject CQL through those values to redirect monitoring data to an attacker-controlled Cassandra keyspace, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:47Z"},"euvd":{"id":"EUVD-2026-23992","exploited":false,"provenance":"source"}}