CVE-2026-25479 affects the Litestar ASGI framework prior to version 2.20.0, where a flaw in the allowed_hosts middleware allows attackers to bypass hostname restrictions. The vulnerability stems from improper regex compilation of allowlist entries, enabling an attacker to craft a malicious host that matches the regex pattern but is not the intended literal hostname. This medium-severity vulnerability (CVSS 6.5) has a low attack complexity and can lead to limited confidentiality and integrity impacts, as it can be exploited remotely without authentication. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 2.20.0CPE matchmatch criteria | cpe:2.3:a:litestar:litestar:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.