Vulnerability in Litestar
CVE-2026-25479
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 me…
EPSS: 0.003 (23.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Litestar
- Litestar-org Litestar — versions < 2.20.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-25479?
- CVE-2026-25479 is a medium-severity vulnerability in Litestar, classified under Incorrect Regular Expression. CVSS score: 6.5/10. Published 2026-02-09.
- How severe is CVE-2026-25479?
- Medium severity. CVSS v3 base score is 6.5 out of 10.