Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nicolargo | glances | before 4.5.2 | 4.5.2 | Patch available | CNA |
| — | Glances (PyPI) | before 4.5.2 | 4.5.2 | Patch available | GHSA-49g7-2ww7-3vf5 |
- glances Vendornicolargo Affected before 4.5.2 Fixed in 4.5.2 Patch available CNA
- Glances (PyPI) Vendor— Affected before 4.5.2 Fixed in 4.5.2 Patch available GHSA-49g7-2ww7-3vf5
Remediation
- Fix · CNA glances (nicolargo) Fixed in 4.5.2
- Fix · GHSA-49g7-2ww7-3vf5 Glances (PyPI) Fixed in 4.5.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32611
- 2026-10-03 Alias added: GHSA-49g7-2ww7-3vf5
References
More nicolargo Glances vulnerabilities
- TI-2026-25142 Glances's Browser API Exposes Reusable Downstream Credentials via `/api/4/serverslist` CVSS 3.1CRITICAL 9.1
- TI-2026-25106 Glances exposes the REST API without authentication CVSS 4.0HIGH 8.7
- TI-2026-27083 Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS CVSS 4.0HIGH 7.7
- TI-2026-25118 Glances has Incomplete Secrets Redaction: /api/v4/args Endpoint Leaks Password Hash and SNMP Credentials CVSS 3.1HIGH 7.5
- TI-2026-25143 Glances Central Browser Autodiscovery Leaks Reusable Credentials to Zeroconf-Spoofed Servers CVSS 3.1HIGH 8.1
- TI-2026-25119 Glances's Default CORS Configuration Allows Cross-Origin Credential Theft CVSS 3.1HIGH 8.1
Sources
- CVE-2026-32611 · CVE Program
- CVE-2026-32611 · NVD
- FIRST EPSS
- GHSA-49g7-2ww7-3vf5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-32611 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences