What’s Vulnerable › Vulnerabilities
CVE-2026-32610: Glances's Default CORS Configuration Allows Cross-Origin Credential Theft
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-18 · updated 2026-06-17
- Weakness: CWE-942
Description
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.2, the Glances REST API web server ships with a default CORS configuration that sets `allow_origins=["*"]` combined with `allow_credentials=True`. When both of these options are enabled together, Starlette's `CORSMiddleware` reflects the requesting `Origin` header value in the `Access-Control-Allow-Origin` response header instead of returning the literal `*` wildcard. This effectively grants any website the ability to make credentialed cross-origin API requests to the Glances server, enabling cross-site data theft of system monitoring information, configuration secrets, and command line arguments from any user who has an active browser session with a Glances instance. Version 4.5.2 fixes the issue.
Affected products
- nicolargo glances: before 4.5.2 — fixed in 4.5.2
How to fix
Upgrade to a fixed version: nicolargo glances 4.5.2. Check the vendor advisory for mitigations.
References
- https://github.com/nicolargo/glances/commit/4465169b71d93991f1e49740fe02428291099832
- https://github.com/nicolargo/glances/releases/tag/v4.5.2
- https://github.com/nicolargo/glances/security/advisories/GHSA-9jfm-9rc6-2hfq
Get alerted when CVE-2026-32610 or the next vulnerability affects your stack