CVE-2026-25478
2 advisories.
PyPI/litestar CVE-2026-25478: high 7.4, EPSS 0.54%
Litestar's CORS origin allowlist has a bypass due to unescaped regex metacharacters in allowed origins
Action: Upgrade litestar to 2.20.0 or later.
pip install litestar==2.20.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 2.19.0 | 2.20.0 | - |
Fixed versions
| 2.20.0 |
Sources
- osv: GHSA-2p2x-hpg8-cqp2
- https://github.com/litestar-org/litestar/security/advisories/GHSA-2p2x-hpg8-cqp2
- https://nvd.nist.gov/vuln/detail/CVE-2026-25478
- https://github.com/litestar-org/litestar/commit/eb87703b309efcc0d1b087dcb12784e76b003d5a
- https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0
- https://github.com/litestar-org/litestar
- https://github.com/litestar-org/litestar/releases/tag/v2.20.0
CVE-2026-25478 · published · modified · JSON
PyPI/litestar CVE-2026-25478: medium 6.5, EPSS 0.54%
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 wi
Action: Upgrade litestar to 2.20.0 or later.
pip install litestar==2.20.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 2.20.0 | - |
Fixed versions
| 2.20.0 |
Sources
- osv: PYSEC-2026-2195
- https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0
- https://github.com/litestar-org/litestar/releases/tag/v2.20.0
- https://github.com/litestar-org/litestar/commit/eb87703b309efcc0d1b087dcb12784e76b003d5a
- https://github.com/litestar-org/litestar/security/advisories/GHSA-2p2x-hpg8-cqp2
CVE-2026-25478 · published · modified · JSON