Vulnerability in Litestar-org 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.000 (5.3th 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-org Litestar — versions < 2.20.0
Weakness classification (CWE)
References
- https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4 (x_refsource_CONFIRM)
- https://github.com/litestar-org/litestar/commit/06b36f481d1bfea6f19995cfb4f203aba45c4ace (x_refsource_MISC)
- https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0 (x_refsource_MISC)
- https://github.com/litestar-org/litestar/releases/tag/v2.20.0 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-25479?
- CVE-2026-25479 is a medium-severity vulnerability in Litestar-org 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.