Read the docs
TI-2024-35241 Aliases CVE-2024-52581GHSA-gjcc-jvgw-wvwj

Litestar allows unbounded resource consumption (DoS vulnerability)

Priority HIGH 75CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.

Summary

Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to version 2.13.0, the multipart form parser shipped with litestar expects the entire request body as a single byte string and there is no default limit for the total size of the request body. This allows an attacker to upload arbitrary large files wrapped in a `multipart/form-data` request and cause excessive memory consumption on the server. The multipart form parser in affected versions is vulnerable to this type of attack by design. The public method signature as well as its implementation both expect the entire request body to be available as a single byte string. It is not possible to accept large file uploads in a safe way using this parser. This may be a regression, as a variation of this issue was already reported in CVE-2023-25578. Limiting the part number is not sufficient to prevent out-of-memory errors on the server. A patch is available in version 2.13.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00794 56th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed litestar (litestar-org): 2.13.0litestar (PyPI): 2.13.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
litestar-orglitestarbefore 2.13.02.13.0Patch availableCNA
—litestar (PyPI)before 2.13.02.13.0Patch availableGHSA-gjcc-jvgw-wvwj
—starlite (PyPI)up to 1.51.16—No fix listedGHSA-gjcc-jvgw-wvwj
  • litestar Vendorlitestar-org Affected before 2.13.0 Fixed in 2.13.0 Patch available CNA
  • litestar (PyPI) Vendor— Affected before 2.13.0 Fixed in 2.13.0 Patch available GHSA-gjcc-jvgw-wvwj
  • starlite (PyPI) Vendor— Affected up to 1.51.16 Fixed in — No fix listed GHSA-gjcc-jvgw-wvwj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:litestar:litestar:*:*:*:*:*:*:*:*before 2.13.0Vulnerablelitestar-org
  • cpe:2.3:a:litestar:litestar:*:*:*:*:*:*:*:* Versions before 2.13.0 Vulnerable ·litestar-org

Remediation

  • Fix · CNA litestar (litestar-org) Fixed in 2.13.0
  • Fix · GHSA-gjcc-jvgw-wvwj litestar (PyPI) Fixed in 2.13.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-52581
  2. 2026-10-03 Alias added: GHSA-gjcc-jvgw-wvwj

References

  • TI-2026-20591 FileStore key canonicalization collisions allow response cache mixup/poisoning (ASCII ord + Unicode NFKD) CVSS 3.1MEDIUM 6.5
  • TI-2026-20590 Litestar has an AllowedHosts validation bypass due to unescaped regex metacharacters in configured host patterns CVSS 3.1MEDIUM 6.5
  • TI-2026-20589 Litestar has a CORS origin allowlist bypass due to unescaped regex metacharacters in allowed origins CVSS 3.1HIGH 7.4

Sources