CVE-2024-32982Litestar and Starlite affected by Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- 8.2HighCVSS base score
- 0.72%Exploitation in 30 daysEPSS · top 46% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By GitHub_M
- 14 days later
· 14 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| NVDNVD · Deferred | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.72% · top 46% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Affected products
- affected >= 2.8.0, < 2.8.3
- affected >= 1.37.0, <= 1.51.14
- affected >= 2.7.0, < 2.7.2
- affected >= 2.0.0, < 2.6.4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIlitestarGHSA-83pv-qr33-2vcf (opens in a new tab)
- PyPIstarliteGHSA-83pv-qr33-2vcf (opens in a new tab)
References
References3
- https://github.com/litestar-org/litestar/security/advisories/GHSA-83pv-qr33-2vcf (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/litestar-org/litestar/commit/57e706e7effdc182fc9a2af5981bc88afb21851b (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/litestar-org/litestar/blob/main/litestar/static_files/base.py#L70 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-1511 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-83pv-qr33-2vcf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-32982)Record last updated .