multer up to 2.1.x/3.0.0-alpha.1 Multipart Upload Readable.pipe cleanup

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.2$0-$5k5.07+

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB 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): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Cleanup
CWE: CWE-459
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: multer 2.2.0/3.0.0-alpha.2

Timelineinfo

03/27/2026 CVE reserved
06/15/2026 +79 days Advisory disclosed
06/15/2026 +0 days VulDB entry created
06/15/2026 +0 days VulDB entry last update

Sourcesinfo

Advisory: GHSA-3p4h-7m6x-2hcm
Researcher: 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

Entryinfo

Created: 06/15/2026 18:33
Changes: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!