CVE Explorer
CVE-2026-25478
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"litestar","vendor":"litestar-org","versions":[{"status":"affected","version":"< 2.20.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:68c41561e680b511a667623e636781f5158d910abab5d1952d0e586dfcb49e0c · sha256:916db8480da91479… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:68c41561e680b511a667623e636781f5158d910abab5d1952d0e586dfcb49e0c · sha256:916db8480da91479… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-942","description":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:68c41561e680b511a667623e636781f5158d910abab5d1952d0e586dfcb49e0c · sha256:916db8480da91479… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0","tags":["x_refsource_MISC"],"url":"https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:68c41561e680b511a667623e636781f5158d910abab5d1952d0e586dfcb49e0c · sha256:916db8480da91479… · /containers/cna/references/2
{"name":"https://github.com/litestar-org/litestar/commit/eb87703b309efcc0d1b087dcb12784e76b003d5a","tags":["x_refsource_MISC"],"url":"https://github.com/litestar-org/litestar/commit/eb87703b309efcc0d1b087dcb12784e76b003d5a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:68c41561e680b511a667623e636781f5158d910abab5d1952d0e586dfcb49e0c · sha256:916db8480da91479… · /containers/cna/references/1
{"name":"https://github.com/litestar-org/litestar/releases/tag/v2.20.0","tags":["x_refsource_MISC"],"url":"https://github.com/litestar-org/litestar/releases/tag/v2.20.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:68c41561e680b511a667623e636781f5158d910abab5d1952d0e586dfcb49e0c · sha256:916db8480da91479… · /containers/cna/references/3
{"name":"https://github.com/litestar-org/litestar/security/advisories/GHSA-2p2x-hpg8-cqp2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-2p2x-hpg8-cqp2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:68c41561e680b511a667623e636781f5158d910abab5d1952d0e586dfcb49e0c · sha256:916db8480da91479… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.