Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M
CVE-2026-68517Glances: REST API CORS Credentials Guard Uses Exact-Match Instead of Membership Test — Bypassed by Any Multi-Origin Allowlist Containing the Wildcard
Medium 6.5
In plain English
A medium-severity security flaw in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | glances | no fix listed | DEBIAN-CVE-2026-68517 |
| Debian:13 | glances | no fix listed | DEBIAN-CVE-2026-68517 |
| Debian:14 | glances | 4.5.6+dfsg-1 | DEBIAN-CVE-2026-68517 |
| PyPI | glances | 4.5.6 | PYSEC-2026-3667 |
| PyPI | glances | 4.5.6 | GHSA-fp27-88fp-2phg |
| Ubuntu:22.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-68517 |
| Ubuntu:24.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-68517 |
| Ubuntu:26.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-68517 |
Affected products (as reported)
Weakness: CWE-942 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-fp27-88fp-2phg x_refsource_CONFIRM
- https://github.com/nicolargo/glances/commit/890858944ab9d03730ec6b1ba42d4015e6d85db5 x_refsource_MISC
- https://github.com/nicolargo/glances/releases/tag/v4.5.6 x_refsource_MISC