PT-2025-30341
CVE-2025-54121
·
Published
2025-07-21
·
Updated
2026-09-18
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions
Starlette versions 0.47.1 and below
Description
Starlette is a lightweight ASGI framework/toolkit for building async web services in Python. When parsing multi-part forms with large files exceeding the default maximum spool size, Starlette blocks the main thread to transfer the file to disk. This blockage impacts the event thread, preventing the application from accepting new connections. The issue stems from a flaw in the
UploadFile code where the logic fails to account for potential rollovers caused by additional bytes.Recommendations
Update to Starlette version 0.47.2 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾