medium6.5
CVE-2026-68517
Glances: REST API CORS Credentials Guard Uses Exact-Match Instead of Membership Test — Bypassed by Any Multi-Origin Allowlist Containing the Wildcard
Impact
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, the cors_origins guard in glances/outputs/glances_restful_api.py uses exact list equality instead of wildcard membership, allowing a multi-origin list containing the wildcard to retain cors_credentials and expose authenticated REST API data to an untrusted website visited by a previously authenticated user. This issue is fixed in 4.5.6.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | glances | < 4.5.6 | 4.5.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-fp27-88fp-2phg
- https://github.com/nicolargo/glances/security/advisories/GHSA-fp27-88fp-2phg
- https://github.com/nicolargo/glances/commit/890858944ab9d03730ec6b1ba42d4015e6d85db5
- https://github.com/nicolargo/glances/releases/tag/v4.5.6