CVE-2026-25479

6.5 MEDIUM
Published: February 09, 2026 Modified: February 17, 2026
View on NVD

Description

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 where an attacker supplies a host that matches the regex but is not the intended literal hostname. This vulnerability is fixed in 2.20.0.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0
Source: security-advisories@github.com
Release Notes
https://github.com/litestar-org/litestar/releases/tag/v2.20.0
Source: security-advisories@github.com
Release Notes
https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4
Source: security-advisories@github.com
Exploit Vendor Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.5 / 10.0
EPSS (Exploit Probability)
0.0%
2th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

litestar