Advisory record · GHSA-2c2j-9gv5-cj73

Starlette has possible denial-of-service vector when parsing large files in multipart forms

CVSS 5.3 MediumEPSS 0.0066 · 52nd percentile

Published by the GitHub Advisory Database at 21 Jul 2025, 19:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
starlettePyPI<0.47.20.47.2
Identifiers
GHSA-2c2j-9gv5-cj73 · CVE-2025-54121 · PYSEC-2026-1941
Weakness (CWE)
CWE-770
Published
21 Jul 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Starlette versions before 0.47.2 are affected. When a multipart form contains a file larger than the default spool size, Starlette blocks the main event thread while rolling the file over to disk, which can stop it from accepting new connections. The source describes the impact as very low, since the extra blocking is small on modern disks. Upgrade to Starlette 0.47.2 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0066, the 52nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 20 Jul 2025, 17:33 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:34 UTC First seen by agentprime
  3. 31 Oct 2026, 14:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.