cve.bz

CVE-2024-32982 litestar-org litestar: Path traversal

8.2 highEPSS 0.7%Fix available

High (8.2) in litestar-org litestar. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in litestar 2.6.4, 2.7.2, 2.8.3.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2024-07-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • litestar (PyPI): fixed in 2.8.3, 2.7.2, 2.6.4
  • starlite (PyPI): fixed in 1.51.16

Ask an AI about this CVE

Show the promptExplain CVE-2024-32982 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-32982?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-32982?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-32982 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
litestar-org litestar>= 2.8.0, < 2.8.3
litestar-org litestar>= 1.37.0, <= 1.51.14
litestar-org litestar>= 2.7.0, < 2.7.2
litestar-org litestar>= 2.0.0, < 2.6.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-83pv-qr33-2vcfPyPIlitestar>=2.8.0 <2.8.32.8.3
GHSA-83pv-qr33-2vcfPyPIstarlite>=1.37.0 <1.51.161.51.16
GHSA-83pv-qr33-2vcfPyPIlitestar>=2.7.0 <2.7.22.7.2
GHSA-83pv-qr33-2vcfPyPIlitestar>=2.0.0 <2.6.42.6.4
PYSEC-2026-1552PyPIstarlite>=1.37.0 <1.51.161.51.16
PYSEC-2026-2605PyPIlitestar>=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

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON