Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-346.
Summary
Glances is an open-source system cross-platform monitoring tool. Glances recently added DNS rebinding protection for the MCP endpoint, but prior to version 4.5.2, the main REST/WebUI FastAPI application still accepts arbitrary `Host` headers and does not apply `TrustedHostMiddleware` or an equivalent host allowlist. As a result, the REST API, WebUI, and token endpoint remain reachable through attacker-controlled domains in classic DNS rebinding scenarios. Once the victim browser has rebound the attacker domain to the Glances service, same-origin policy no longer protects the API because the browser considers the rebinding domain to be the origin. This is a distinct issue from the previously reported default CORS weakness. CORS is not required for exploitation here because DNS rebinding causes the victim browser to treat the malicious domain as same-origin with the rebinding target. Version 4.5.2 contains a patch for the issue.
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-hhcg-r27j-fhv9 |
- 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-hhcg-r27j-fhv9
Remediation
- Fix · CNA glances (nicolargo) Fixed in 4.5.2
- Fix · GHSA-hhcg-r27j-fhv9 Glances (PyPI) Fixed in 4.5.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32632
- 2026-10-03 Alias added: GHSA-hhcg-r27j-fhv9
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-25120 Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements CVSS 3.1CRITICAL 9.1
- 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
Sources
- CVE-2026-32632 · CVE Program
- CVE-2026-32632 · NVD
- FIRST EPSS
- GHSA-hhcg-r27j-fhv9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-32632 · 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