VDB
Sign up
MEDIUM6.3

PYSEC-2026-2177

Quick fix

PYSEC-2026-2177 — glances: upgrade to the fixed version with the command below.

pip install --upgrade 'glances>=4.5.4'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/glances
Introduced in: 0Fixed in: 4.5.4
Fixpip install --upgrade 'glances>=4.5.4'

References