CVE-2026-32611 Details
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 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.
A SQL injection vulnerability has been identified in the DuckDB export module of Glances, a cross-platform system monitoring tool. This issue arises because table and column names are directly inserted into SQL statements without proper sanitization, using f-strings. While DuckDB's INSERT values are safely parameterized, the construction of Data Definition Language (DDL) statements and table name references do not escape or parameterize identifier names. This vulnerability affects Glances versions through 4.5.2-dev01.
Users can upgrade to Glances version 4.5.2, which addresses this vulnerability by applying the same parameterization approach used for the TimescaleDB export module. After updating, it's recommended to recreate any DuckDB databases that might have been affected by the previous vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/nicolargo/glances/commit/63b7da28895249d775202d639e5531ba63491a5c | [email protected] | Patch |
| https://github.com/nicolargo/glances/releases/tag/v4.5.2 | [email protected] | Release Notes |
| https://github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nicolargo glances | < 4.5.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 19, 2026 | Initial Analysis | [email protected] |
| Mar 18, 2026 | CVE Modified | CISA-ADP |
| Mar 18, 2026 | New CVE Received | [email protected] |