CVE-2025-24033fastify-multipart
High 7.5 No auth needed
Follow: this CVE · fastify · fastify-multipart We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jan 23, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
@fastify/multipart is a Fastify plugin for parsing the multipart content-type. Prior to versions 8.3.1 and 9.0.3, the `saveRequestFiles` function does not delete the uploaded temporary files when user cancels the request. The issue is fixed in versions 8.3.1 and 9.0.3. As a workaround, do not use `saveRequestFiles`.
What to do
- Apply the vendor's security update for fastify-multipart.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @fastify/multipart |
< 8.3.1 |
8.3.1 |
npm install @fastify/multipart@8.3.1 |
| npm | @fastify/multipart |
≥ 9.0.0 < 9.0.3 |
9.0.3 |
npm install @fastify/multipart@9.0.3 |
Per OSV / GitHub Advisories (GHSA-27c6-mcxv-x3fh). Check the version in your lockfile before upgrading.
Affected products
- fastify · fastify-multipart
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.