Intel

AIKIDO-2026-593910

glances is vulnerable to Permissive Cross-domain Policy with Untrusted Domains

CVE-2026-68517Published Aug 3, 2026
August 3, 2026

65

CVE Score

Medium

Permissive Cross-domain Policy with Untrusted Domains

Are you affected? Scan for Free

TL;DR

Glances includes a guard that disables CORS credentials when the configured origin list is the wildcard, intended to prevent credentialed cross-origin access to the REST API. The check compares the origin list to the wildcard using exact list equality instead of a membership test. Any multi-entry cors_origins list that merely contains the wildcard bypasses the guard, while the underlying middleware still treats the wildcard as allow-all and reflects the request origin together with credentials. The fix changes the guard to a membership test so any origin list containing the wildcard disables credentials.

How do I fix this?

Upgrade the glances library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the REST API with cors_credentials enabled and a multi-entry cors_origins list that includes the wildcard alongside other origins.

Package

Versions

4.5.2 - 4.5.5

Fixed in 4.5.6

Background info

glances is vulnerable to Permissive Cross-domain Policy with Untrusted Domains in versions 4.5.2 - 4.5.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea