CVE-2026-25478: Litestar has a CORS origin allowlist bypass due to unescaped regex metacharacters in allowed origins
litestar-org · litestar
Affected: litestar-org · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 38% of scored CVEs
DescriptionCVE.org
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, CORSConfig.allowed_origins_regex is constructed using a regex built from configured allowlist values and used with fullmatch() for validation. Because metacharacters are not escaped, a malicious origin can match unexpectedly. The check relies on allowed_origins_regex.fullmatch(origin). This vulnerability is fixed in 2.20.0.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- litestar-org · litestar< 2.20.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- litestar-org
- Published
- February 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-25478 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-942cwe.mitre.org
- github.com/litestar-org/litestar/security/advisories/GHSA-2p2x-hgithub.com
- github.com/litestar-org/litestar/commit/eb87703b309efcc0d1b087dcgithub.com
- docs.litestar.dev/2/release-notes/changelog.html#2.20.0docs.litestar.dev
- github.com/litestar-org/litestar/releases/tag/v2.20.0github.com