Skip to main content
CVE-2025-54121VulnerabilityPublished Updated

starlette · In versions 0.47.1 and below, when parsing a multi-part form with large files (greater than the default max spool

Affects starletteSource GCVE Database

0
Compare
Authoritative record:CVE-2025-54121· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 0.47.2 : update starlette when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.47.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10starlettepkg:deb/ubuntu/starlette?arch=source&distro=stonkingOther threatsAffected
  • 0.50.0-1 – 1.7.0-2
4 affected builds
Fixed in–
Ubuntu 26.04 LTSstarlettepkg:deb/ubuntu/starlette?arch=source&distro=resoluteOther threatsAffected
  • =0.46.1-3
  • =0.50.0-1
Fixed in–
Ubuntu 25.10starlettepkg:deb/ubuntu/starlette?arch=source&distro=questingOther threatsAffected
  • =0.46.1-2
  • =0.46.1-3
Fixed in–
Ubuntu 24.04 LTSstarlettepkg:deb/ubuntu/starlette?arch=source&distro=nobleOther threatsAffected
  • =0.30.0-1
  • =0.31.1-1
Fixed in–
Ubuntu 22.04 LTSstarlettepkg:deb/ubuntu/starlette?arch=source&distro=jammyOther threatsAffected
  • =0.14.1-1
  • =0.16.0-1
  • =0.18.0-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, designed for building async web services in Python. In versions 0.47.1 and below, when parsing a multi-part form with large files (greater than the default max spool size) starlette will block the main thread to roll the file over to disk. This blocks the event thread which means the application can't accept new connections. The UploadFile code has a minor bug where instead of just checking for self._in_memory, the logic should also check if the additional bytes will cause a rollover. The vulnerability is fixed in version 0.47.2.

References

Community reviews

Loading reviews…