CVE-2026-25480
MEDIUM 6.5CVSS 3.1Litestar's FileStore key canonicalization collisions allow response cache mixup/poisoning (ASCII ord + Unicode NFKD)
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.
- Published
- 9 Feb 2026
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-176CWE-20
- Also known as
- GHSA-vxqx-rh46-q2pgPYSEC-2026-2197
- Sources
- NVDJSONOSV GHSA-vxqx-rh46-q2pgJSONOSV PYSEC-2026-2197JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | litestar | litestarcpe:2.3:a:litestar:litestar:*:*:*:*:*:*:*:* |
< 2.20.0 | 2.20.0 |
| OSV | PyPI | litestar | >= 2.19.0, < 2.20.0 | 2.20.0 |
| OSV | PyPI | litestar | < 2.20.0 | 2.20.0 |
References
- https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0 · Release Notes, WEB, ADVISORY
- https://github.com/litestar-org/litestar/commit/85db6183a76f8a6b3fd6ee3c88d860b9f37a2cca · Patch, WEB, FIX
- https://github.com/litestar-org/litestar/releases/tag/v2.20.0 · Release Notes, WEB, ADVISORY
- https://github.com/litestar-org/litestar/security/advisories/GHSA-vxqx-rh46-q2pg · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-25480 · ADVISORY
- https://github.com/litestar-org/litestar · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 9 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2026)