Glances's Default CORS Configuration Allows Cross-Origin Credential Theft
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
GlancesPyPI | < 4.5.2 | 4.5.2 |
Affected products
3- ghsa-coords2 versions
< 4.5.2+ 1 more
- (no CPE)range: < 4.5.2
- (no CPE)range: < 4.5.2-1.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-9jfm-9rc6-2hfqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-32610ghsaADVISORY
- github.com/nicolargo/glances/commit/4465169b71d93991f1e49740fe02428291099832ghsax_refsource_MISCWEB
- github.com/nicolargo/glances/releases/tag/v4.5.2ghsax_refsource_MISCWEB
- github.com/nicolargo/glances/security/advisories/GHSA-9jfm-9rc6-2hfqghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.