{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-32611","id":"CVE-2026-32611","title":"Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements","description":"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 vu","descriptionLong":"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.","published":"2026-03-18T17:21:18.668Z","updated":"2026-10-28T02:30:21.572435560Z","reserved":"2026-03-12T14:54:24.270Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"}],"rating":"high","products":["nicolargo glances"],"affectedProducts":[{"vendor":"nicolargo","product":"glances","defaultStatus":null,"versions":[{"version":"< 4.5.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"glances","purl":"pkg:pypi/glances","ranges":["<4.5.2"],"fixed":["4.5.2"],"advisory":"GHSA-49g7-2ww7-3vf5"}],"cwes":["CWE-89"],"aliases":["GHSA-49g7-2ww7-3vf5","PYSEC-2026-2170"],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web","evidence"]},{"url":"https://github.com/nicolargo/glances/commit/63b7da28895249d775202d639e5531ba63491a5c","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/nicolargo/glances/releases/tag/v4.5.2","tags":["x_refsource_MISC","Release Notes","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32611.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32611","tags":["advisory"]},{"url":"https://github.com/nicolargo/glances","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00366,"epssPercentile":0.3113,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-32611","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32611","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-32611","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-49g7-2ww7-3vf5","ok":true,"note":"GHSA-49g7-2ww7-3vf5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32611","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}