Path traversalin litestar-org litestar.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
Litestar and Starlite is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.8.3, 2.7.2, and 2.6.4, a Local File Inclusion (LFI) vulnerability has been discovered in the static file serving component of LiteStar. This vulnerability allows attackers to exploit path traversal flaws, enabling unauthorized access to sensitive files outside the designated directories. Such access can lead to the disclosure of sensitive information or potentially compromise the server. The vulnerability is located in the file path handling mechanism within the static content serving function, specifically at `litestar/static_files/base.py`. This vulnerability is fixed in versions 2.8.3, 2.7.2, and 2.6.4.
- Upgrade starlite to 2.6.4, 2.7.2, 2.8.3 or later, whichever matches your release line.
- Upgrade litestar (PyPI) to 2.6.4, 2.7.2, 2.8.3 or later, whichever matches your release line.
- Upgrade starlite (PyPI) to 1.51.16 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Apr 2024CVE ID reserved by GitHub_M.
- 6 May 2024Published in the CVE List.
- 2 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other litestar vulnerabilities
Same weakness: Path traversal
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2024-32982: Path traversal in litestar-org litestar. https://patchminder.com/cve/cve-2024-32982/ (accessed 5 December 2026).