Skip to main content
← All vulnerabilities
CVE-2026-32611PYSEC-2026-2170GHSA-49G7-2WW7-3VF5

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nicolargo glances

    fixed in 4.5.2

  • glancesPyPI

    fixed in 4.5.2

References 3

GitHub · nicolargo/glances