CVE-2026-32611 json
Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements
published 2026-03-16 7 mo ago modified 2026-07-13 3 mo ago also EUVD-2026-12882 , GHSA-49g7-2ww7-3vf5 , PYSEC-2026-2170
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi glances 4.5.2
- glances_project glances 4.5.2
- nicolargo glances 4.5.2
- glances Debian 14 4.5.2+dfsg-1
debian advisories DEBIAN-CVE-2026-32611
- python-Glances openSUSE Tumbleweed 4.5.2-1.1
opensuse advisories openSUSE-SU-2026:10415-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-32611 updated cvss 9.1
glances: SQL injection in DuckDB export via unparameterized DDL statements
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| GitHub | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | glances | <4.5.2 |
4.5.2 |
Affected products
- nicolargo glances
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/nicolargo/glances/commit/63b7da28895249d775202d639e5531ba63491a5c
web, patch
-
github.com
/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5
exploit, web, vendor-advisory, evidence
-
github.com
/nicolargo/glances/releases/tag/v4.5.2
web, release-notes, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-32611
advisory
-
github.com
/nicolargo/glances
package
Sources
- CVE List CVE-2026-32611
- GitHub Advisory GHSA-49g7-2ww7-3vf5
- NVD CVE-2026-32611
- OSV PYSEC-2026-2170
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.