patchminder
Proof of concept · CISA assessment CVE-2024-32982

Path traversalin litestar-org litestar.

Published 6 May 2024 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
High 8.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
litestar
Not confirmed
Not confirmed
CVE record
starlite
1.37.0 to 1.51.14
Not confirmed
CISA
starlite
2.0.0 to before 2.6.4
2.6.4
CISA
starlite
2.7.0 to before 2.7.2
2.7.2
CISA
starlite
2.8.0 to before 2.8.3
2.8.3
CISA
litestar (PyPI)
2.8.0 to before 2.8.3
2.8.3
GitHub advisory
litestar (PyPI)
2.7.0 to before 2.7.2
2.7.2
GitHub advisory
litestar (PyPI)
2.0.0 to before 2.6.4
2.6.4
GitHub advisory
starlite (PyPI)
1.37.0 to before 1.51.16
1.51.16
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 22 Apr 2024
    CVE ID reserved by GitHub_M.
  2. 6 May 2024
    Published in the CVE List.
  3. 2 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other litestar vulnerabilities

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-32982: Path traversal in litestar-org litestar. https://patchminder.com/cve/cve-2024-32982/ (accessed 5 December 2026).