CISA list

● PyPI package

litestar

Litestar has nine security advisories. The newest release any of them names as the fix is 2.22.0.

As of , litestar has nine security advisories. The newest release any of them names as the fix is 2.22.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 2.22.02.22.09 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-48061GHSA-3qmc-cj7q-62hv, PYSEC-2026-2603Litestar: AllowedHostsMiddleware bypasses host validation via client-controlled X-Forwarded-Host headerModerate severityBefore 2.22.02.22.0
CVE-2026-48060GHSA-542p-wvx7-72m4, PYSEC-2026-2604Litestar has HTML Injection Through its CSRF TokenHigh severityBefore 2.22.02.22.0
CVE-2026-25480GHSA-vxqx-rh46-q2pg, PYSEC-2026-2197Litestar's FileStore key canonicalization collisions allow response cache mixup/poisoning (ASCII ord + Unicode NFKD)Moderate severityBefore 2.20.02.20.0
CVE-2026-25479GHSA-93ph-p7v4-hwh4, PYSEC-2026-2196Litestar's AllowedHosts has a validation bypass due to unescaped regex metacharacters in configured host patternsModerate severityBefore 2.20.02.20.0
CVE-2026-25478GHSA-2p2x-hpg8-cqp2, PYSEC-2026-2195Litestar's CORS origin allowlist has a bypass due to unescaped regex metacharacters in allowed originsHigh severityBefore 2.20.02.20.0
CVE-2025-59152GHSA-hm36-ffrh-c77c, PYSEC-2026-1553Litestar X-Forwarded-For Header Spoofing Vulnerability Enables Rate Limit EvasionHigh severityFrom 2.17.0 before 2.18.02.18.0
GHSA-674p-xv2x-rf3gLitestar has potential log injection in exception loggingLow severityBefore 2.17.02.17.0
CVE-2024-52581GHSA-gjcc-jvgw-wvwj, PYSEC-2024-178, PYSEC-2026-1944Litestar allows unbounded resource consumption (DoS vulnerability)High severityBefore 2.13.02.13.0
CVE-2024-32982GHSA-83pv-qr33-2vcf, PYSEC-2026-1552, PYSEC-2026-2605Litestar and Starlite vulnerable to Path TraversalHigh severityFrom 2.8.0 before 2.8.3; From 2.7.0 before 2.7.2; From 2.0.0 before 2.6.42.6.4, 2.7.2, 2.8.3

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0