MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-25479GHSA-93ph-p7v4-hwh4

Litestar has an AllowedHosts validation bypass due to unescaped regex metacharacters in configured host patterns

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

Summary

Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, in litestar.middleware.allowed_hosts, allowlist entries are compiled into regex patterns in a way that allows regex metacharacters to retain special meaning (e.g., . matches any character). This enables a bypass

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)