Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Glances
  4. ›
  5. CVE-2026-32611

CVE-2026-32611: Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements

March 16, 2026 (updated March 18, 2026)

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.

References

  • github.com/advisories/GHSA-49g7-2ww7-3vf5
  • github.com/nicolargo/glances
  • github.com/nicolargo/glances/commit/63b7da28895249d775202d639e5531ba63491a5c
  • github.com/nicolargo/glances/releases/tag/v4.5.2
  • github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5
  • nvd.nist.gov/vuln/detail/CVE-2026-32611

Code Behaviors & Features

Detect and mitigate CVE-2026-32611 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.5.2

Fixed versions

  • 4.5.2

Solution

Upgrade to version 4.5.2 or above.

Impact 7 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/Glances/CVE-2026-32611.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:58 +0000.