CVE-2026-46608: Cors Wildcard Fallback

When multiple CORS origins are configured, the application erroneously defaults to a wildcard ('*') instead of dynamically reflecting valid request origins. This misconfiguration silently disables cross-origin restrictions, exposing APIs. Reflect the 'Origin' request header against the allowed list of origins instead.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-46608-cors-wildcard-fallback --engine opengrep

Description

When multiple CORS origins are configured, the application erroneously defaults to a wildcard ('*') instead of dynamically reflecting valid request origins. This misconfiguration silently disables cross-origin restrictions, exposing APIs. Reflect the 'Origin' request header against the allowed list of origins instead.