CVE-2026-32611CWE-89

Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements

High · published March 18, 2026

CVSS v3.1
7.0
EPSS
0%
Percentile
35.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00419 · 35.1th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-03-18T17:21Z
EPSS history
Timeline
  • 18 MAR 17:21Z
    Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements
    cvelistv5