CVE-2024-32982
HIGH 8.2CVSS 3.1Litestar and Starlite vulnerable to Path Traversal
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.
- Published
- 6 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-83pv-qr33-2vcfPYSEC-2026-1552PYSEC-2026-2605
- Sources
- NVDJSONOSV GHSA-83pv-qr33-2vcfJSONOSV PYSEC-2026-1552JSONOSV PYSEC-2026-2605JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | litestar | >= 2.8.0, < 2.8.3 | 2.8.3 |
| OSV | PyPI | starlite | >= 1.37.0, < 1.51.16 | 1.51.16 |
| OSV | PyPI | litestar | >= 2.7.0, < 2.7.2 | 2.7.2 |
| OSV | PyPI | litestar | >= 2.0.0, < 2.6.4 | 2.6.4 |
| OSV | PyPI | litestar | >= 2.0.0, < 2.6.4; >= 2.7.0, < 2.7.2; >= 2.8.0, < 2.8.3 | 2.6.4, 2.7.2, 2.8.3 |
References
- https://github.com/litestar-org/litestar/blob/main/litestar/static_files/base.py#L70 · WEB
- https://github.com/litestar-org/litestar/commit/57e706e7effdc182fc9a2af5981bc88afb21851b · WEB
- https://github.com/litestar-org/litestar/security/advisories/GHSA-83pv-qr33-2vcf · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32982 · ADVISORY
- https://github.com/litestar-org/litestar/commit/a07b79b84d8717bec5ac4d4674c1e4920ba9c813 · WEB
- https://github.com/litestar-org/litestar · PACKAGE
- https://pypi.org/project/litestar · PACKAGE
- https://github.com/advisories/GHSA-83pv-qr33-2vcf · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 6 May 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 May 2024)