{"id":"UBUNTU-CVE-2026-32611","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.","modified":"2026-03-25T17:36:53Z","published":"2026-03-18T18:16:00Z","upstream":["CVE-2026-32611"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-32611"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-32611"},{"type":"REPORT","url":"https://github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5"},{"type":"REPORT","url":"https://github.com/nicolargo/glances/commit/63b7da28895249d775202d639e5531ba63491a5c"},{"type":"REPORT","url":"https://github.com/nicolargo/glances/releases/tag/v4.5.2"}],"affected":[{"package":{"name":"glances","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/glances@2.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3-1build1","2.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"2.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32611.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/glances@2.11.1-3ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10-2","2.11.1-1","2.11.1-2","2.11.1-3","2.11.1-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"2.11.1-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32611.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/glances@3.1.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.0-1","3.1.1-1","3.1.3-1","3.1.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"3.1.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32611.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/glances@3.2.4.2+dfsg-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.5-1","3.2.3.1+dfsg-1","3.2.4.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"3.2.4.2+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32611.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/glances@3.4.0.3+dfsg-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"3.4.0.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32611.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/glances@4.3.1+dfsg-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.0.8+dfsg-1","4.3.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"4.3.1+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}