multer up to 2.1.x/3.0.0-alpha.1 Multipart Upload Readable.pipe cleanup
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 5.07+ |
Summary
A vulnerability classified as problematic was found in multer up to 2.1.x/3.0.0-alpha.1. Affected is the function Readable.pipe of the component Multipart Upload Handler. Executing a manipulation can lead to cleanup.
This vulnerability is registered as CVE-2026-5038. It is possible to launch the attack remotely. No exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability has been found in multer up to 2.1.x/3.0.0-alpha.1 and classified as problematic. This vulnerability affects the function Readable.pipe of the component Multipart Upload Handler. The manipulation with an unknown input leads to a cleanup vulnerability. The CWE definition for the vulnerability is CWE-459. The product does not properly "clean up" and remove temporary or supporting resources after they have been used. As an impact it is known to affect availability. CVE summarizes:
Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to the underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required. Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path. Workarounds: None.
The weakness was published by HamdaanAliQuatil, fasrm, 0xStraw-Hat, bhaswanthc, ByamB4, sbouabid-sec, DavidCarliez and JebeenLee as GHSA-3p4h-7m6x-2hcm. The advisory is available at github.com. This vulnerability was named CVE-2026-5038 since 03/27/2026. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.
Upgrading to version 2.2.0 or 3.0.0-alpha.2 eliminates this vulnerability.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.3
CNA Vector (openjs): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: CleanupCWE: CWE-459
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: multer 2.2.0/3.0.0-alpha.2
Timeline
03/27/2026 CVE reserved06/15/2026 Advisory disclosed
06/15/2026 VulDB entry created
06/15/2026 VulDB entry last update
Sources
Advisory: GHSA-3p4h-7m6x-2hcmResearcher: HamdaanAliQuatil, fasrm, 0xStraw-Hat, bhaswanthc, ByamB4, sbouabid-sec, DavidCarliez, JebeenLee
Status: Confirmed
CVE: CVE-2026-5038 (🔒)
GCVE (CVE): GCVE-0-2026-5038
GCVE (VulDB): GCVE-100-370930
Entry
Created: 06/15/2026 18:33Changes: 06/15/2026 18:33 (65)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.