Intel

AIKIDO-2026-593910

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

Permissive Cross-domain Policy with Untrusted DomainsCVE-2026-68517 Published 4 days ago

65

Medium Risk

This Affects:

PYTHONglances
4.5.2 - 4.5.5
Fixed in 4.5.6
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.

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.

Background info

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

How to fix this

Upgrade the glances library to the patch version.