CVE-2026-25480: litestar · Improper Handling of Unicode Encoding
Affects litestarSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.20.0 when convenient.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.20.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade litestar to 2.20.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| litestar-orglitestar | Affected
| Fixed in
|
AI-suggested
The primary and most effective mitigation is to upgrade all litestar deployments to version 2.20.0 or later, where the cache key collision issue is resolved. Organizations should audit their use of the FileStore cache backend and assess whether any cached responses could have been affected. For environments where immediate upgrade is not feasible, consider disabling the FileStore response cache backend or replacing it with alternative caching mechanisms that properly handle Unicode normalization and key separation. Implement monitoring to detect unusual cache behavior or unexpected content served from cache. Additionally, review application-level input validation and normalization of URL paths to reduce the risk of crafted inputs triggering cache collisions. Security teams should also ensure that web application firewalls (WAFs) and intrusion detection systems are tuned to detect anomalous requests that might exploit this vulnerability. Finally, maintain an inventory of affected systems and ensure timely patch management processes are in place to prevent exploitation.
Description
CVE-2026-25480 is a medium severity vulnerability in the litestar ASGI framework versions prior to 2.20.0. It arises from improper handling of Unicode normalization in the FileStore cache backend, which maps cache keys to filenames using Unicode NFKD normalization and ord() substitution without separators. This flawed approach can cause cache key collisions when an unauthenticated remote attacker crafts specific URL paths, leading to cache poisoning or response mixups where one URL serves cached responses intended for another. The vulnerability does not require authentication or user interaction and impacts confidentiality and integrity by exposing or mixing cached data. It is fixed in litestar version 2.20.0. European organizations using vulnerable litestar versions as part of their web infrastructure may face risks of data leakage or incorrect content delivery.
References
- github.com/litestar-org/litestar/security/advisories/GHSA-vxqx-rh46-q2pg (opens in a new tab)
- github.com/litestar-org/litestar/commit/85db6183a76f8a6b3fd6ee3c88d860b9f37a2cca (opens in a new tab)
- docs.litestar.dev/2/release-notes/changelog.html (opens in a new tab)
- github.com/litestar-org/litestar/releases/tag/v2.20.0 (opens in a new tab)