CVE-2026-25478 | Litestar has a CORS origin allowlist bypass due to unescaped regex metacharacters in allowed origins
Exp
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, CORSConfig.allowed_origins_regex is constructed using a regex built from configured allowlist values and used with fullmatch() for validation. Because metacharacters are not escaped, a malicious origin can match unexpectedly. The check relies on allowed_origins_regex.fullmatch(origin). This vulnerability is fixed in 2.20.0.
Conclusion & alert: CVE-2026-25478 is rated Exploit Available (50/100): CVSS High severity, with low exploitation likelihood (EPSS 0.03%).Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB).Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
Public exploit references (Exploit-DB) for CVE-2026-25478
Exploit prediction scoring system (EPSS) score for CVE-2026-25478
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
GHSA-2p2x-hpg8-cqp2 · Severity: high · Ecosystem: pip — Litestar's CORS origin allowlist has a bypass due to unescaped regex metacharacters in allowed origins
Affected software / configurations for CVE-2026-25478