Security Resilience

CVE-2026-25479

Litestar ≤ 2.20.0

Public PoC
Published
09 February 2026
Modified
17 February 2026
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.0049 35th percentile
Risk Priority 51 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-25479 is a medium-severity Incorrect Regular Expression (CWE-185) vulnerability in Litestar. Its CVSS base score is 6.5 (Medium).

Operationally, ranked at the 35th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-25478Same product: Litestar Litestar
CVE-2026-25480Same product: Litestar Litestar
CVE-2024-52581Same product: Litestar Litestar
CVE-2026-25542Shared CWE-185
CVE-2026-114653Shared CWE-185
CVE-2024-52289Shared CWE-185
CVE-2026-33418Shared CWE-185
CVE-2026-88021Shared CWE-185
CVE-2026-24398Shared CWE-185
CVE-2026-27895Shared CWE-185

Affected Assets

litestar
litestar
≤ 2.20.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover regex that fails to match or compare data as intended.

Requiring documented development standards and tools reduces the chance that incorrect regular expressions are written into validation or filtering logic.

An SDLC that incorporates security can embed reviews or tooling that catch malformed regular expressions before deployment.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect regex-related flaws before release.

prevents

Secure coding standards directly address proper construction and review of regular expressions.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-185, a class-level weakness, and none of its children carries one either.

References