CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-32611

High
Published: Translated: NVD NIST

Summary

Glances to narzędzie do monitorowania systemów, które zawiera podatność na wstrzykiwanie SQL w module eksportu DuckDB. W module tym nazwy tabel i kolumn są interpolowane bezpośrednio do zapytań SQL, co stwarza ryzyko ataku.

Risk Assessment

Organizacja może być narażona na ataki wstrzykiwania SQL, co może prowadzić do nieautoryzowanego dostępu do danych lub ich modyfikacji. W szczególności, atakujący może manipulować zapytaniami SQL, co może skutkować poważnymi konsekwencjami dla bezpieczeństwa danych.

Recommendation

Zaleca się aktualizację do wersji 4.5.3, która zawiera poprawki eliminujące tę podatność. Dodatkowo, warto przeprowadzić audyt kodu w celu zidentyfikowania i naprawienia podobnych problemów w innych modułach.

Related vulnerabilities

Original NVD description (English source)

Glances is an open-source system cross-platform monitoring tool. The GHSA-x46r fix (commit 39161f0) addressed SQL injection in the TimescaleDB export module by converting all SQL operations to use parameterized queries and `psycopg.sql` composable objects. However, the DuckDB export module (`glances/exports/glances_duckdb/__init__.py`) was not included in this fix and contains the same class of vulnerability: table names and column names derived from monitoring statistics are directly interpolated into SQL statements via f-strings. While DuckDB INSERT values already use parameterized queries (`?` placeholders), the DDL construction and table name references do not escape or parameterize identifier names. Version 4.5.3 provides a more complete fix.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS