Skip to main content
CVE-2026-25480VulnerabilityPublished

CVE-2026-25480: litestar · Improper Handling of Unicode Encoding

Affects litestarSource CVE Database V5

0

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

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
litestar-orglitestarAffected
  • <2.20.0
Fixed in
  • 2.20.0

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

Community reviews

Loading reviews…