ADVISORIES

PyPA Advisory Database

PYSEC-2026-2197

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIlitestar
All versions before 2.20.0 (fixed in 2.20.0)

References