Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Glances
  4. ›
  5. CVE-2026-68517

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

August 17, 2026

Glances’s REST API server includes a documented safety check intended to guarantee that cors_credentials=True can never be combined with an unrestricted CORS origin allowlist. The check compares the configured origin list to the wildcard using exact list equality (cors_origins == ["*"]) instead of a membership test. Any multi-entry origin configuration that merely includes "*" alongside other origins (e.g. cors_origins=*,https://trusted.example.com) bypasses the check entirely, while Starlette’s underlying CORSMiddleware still treats the presence of "*" anywhere in the list as “allow all origins” and reflects the request’s actual Origin header together with Access-Control-Allow-Credentials: true. This allows any website to read a victim’s authenticated Glances monitoring data — including full process lists with command-line arguments — by exploiting the browser’s automatic replay of cached HTTP Basic Auth credentials in a cross-origin request.

References

  • github.com/advisories/GHSA-fp27-88fp-2phg
  • github.com/nicolargo/glances/commit/890858944ab9d03730ec6b1ba42d4015e6d85db5
  • github.com/nicolargo/glances/releases/tag/v4.5.6
  • github.com/nicolargo/glances/security/advisories/GHSA-fp27-88fp-2phg
  • nvd.nist.gov/vuln/detail/CVE-2026-68517

Code Behaviors & Features

Detect and mitigate CVE-2026-68517 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.5.6

Fixed versions

  • 4.5.6

Solution

Upgrade to version 4.5.6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains

Source file

pypi/Glances/CVE-2026-68517.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 06 Sep 2026 12:17:09 +0000.