Advisory

PYSEC-2026-2170

Also known as: CVE-2026-32611, GHSA-49g7-2ww7-3vf5

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-03-18 18:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

glances

PyPI · All systems

Affected

  • introduced 0, fixed 4.5.2 (ecosystem)

Fixed versions

4.5.2

Fix

  • Fixed version 4.5.2
    pip install --upgrade glances==4.5.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences