CVE-2026-25479
2 advisories.
PyPI/litestar CVE-2026-25479: medium 6.5, EPSS 0.46%
Litestar's AllowedHosts has a validation bypass due to unescaped regex metacharacters in configured host patterns
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-93ph-p7v4-hwh4
- https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4
- https://nvd.nist.gov/vuln/detail/CVE-2026-25479
- https://github.com/litestar-org/litestar/commit/06b36f481d1bfea6f19995cfb4f203aba45c4ace
- 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-25479 · published · modified · JSON
PyPI/litestar CVE-2026-25479: medium 6.5, EPSS 0.46%
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 re
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-2196
- 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/06b36f481d1bfea6f19995cfb4f203aba45c4ace
- https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4
CVE-2026-25479 · published · modified · JSON