CVE-2026-25480Litestar
Medium 6.5 No auth needed
Follow: this CVE · Litestar · Litestar We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Feb 9, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-176
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, FileStore maps cache keys to filenames using Unicode NFKD normalization and ord() substitution without separators, creating key collisions. When FileStore is used as response-cache backend, an unauthenticated remote attacker can trigger cache key collisions via crafted paths, causing one URL to serve cached responses of another (cache poisoning/mixup). This vulnerability is fixed in 2.20.0.
What to do
- Apply the vendor's security update for Litestar.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | litestar |
≥ 2.19.0 < 2.20.0 |
2.20.0 |
pip install "litestar>=2.20.0" |
| PyPI | litestar |
< 2.20.0 |
2.20.0 |
pip install "litestar>=2.20.0" |
Per OSV / GitHub Advisories (GHSA-vxqx-rh46-q2pg, PYSEC-2026-2197). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| litestar | litestar | < 2.20.0 |
Official sources
References
Links published by the sources. Open them with care.
- docs.litestar.dev Release Notes
- github.com Patch
- github.com Release Notes
- github.com Exploit Vendor Advisory