CVE-2026-25479

MEDIUM CVSS 3.1: 6.5 EPSS 0.35%
Updated Feb 09, 2026
Litestar
Parameter Value
CVSS 6.5 (MEDIUM)
Fixed In 2.20.0
Type CWE-185
Vendor Litestar
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)