MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-25478GHSA-2p2x-hpg8-cqp2

Litestar has a CORS origin allowlist bypass due to unescaped regex metacharacters in allowed origins

Not on CISA KEVCVSS 7.4 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)