{"id":"CVE-2026-32611","summary":"Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements","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.","aliases":["GHSA-49g7-2ww7-3vf5"],"modified":"2026-04-10T05:42:57.453981Z","published":"2026-03-18T17:21:18.668Z","related":["openSUSE-SU-2026:10415-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32611.json","cwe_ids":["CWE-89"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/nicolargo/glances/releases/tag/v4.5.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32611.json"},{"type":"ADVISORY","url":"https://github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32611"},{"type":"FIX","url":"https://github.com/nicolargo/glances/commit/63b7da28895249d775202d639e5531ba63491a5c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nicolargo/glances","events":[{"introduced":"0"},{"fixed":"a56a5b78ef931b1d1391c9898bf735a5b4323ec9"}]}],"versions":["v1.0","v1.1.2","v1.1.3","v1.2","v1.3","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.4","v1.4.1","v1.4.1.1","v1.4.2","v1.4.2.1","v1.5","v1.5.1","v1.5.2","v1.6","v1.6.1","v1.7","v1.7.1","v1.7.2","v1.7.3","v2.10","v2.11","v2.2","v2.3","v2.4.1","v2.4.2","v2.5","v2.5.1","v2.7","v2.7.1","v2.7_RC1","v2.8","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.9.0","v2.9.1","v3.0","v3.1.0","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6.1","v3.1.7","v3.2.0","v3.2.1","v3.2.2","v3.2.3","v3.2.3.1","v3.2.4","v3.2.4.1","v3.2.4.2","v3.2.5","v3.2.6","v3.2.7","v3.3.0","v3.3.0.1","v3.3.1","v3.4.0","v4.2.0","v4.3.0","v4.3.0.1","v4.3.0.2","v4.3.0.3","v4.3.0.6","v4.3.0.7","v4.3.0.8","v4.3.1","v4.3.2","v4.3.3","v4.4.0","v4.4.1","v4.5.0","v4.5.0.1","v4.5.0.2","v4.5.0.3","v4.5.0.4","v4.5.0.5","v4.5.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32611.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L"}]}