Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-5889
Published:June 09, 2025
Updated:June 05, 2026
A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.
Affected Packages
https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.1.12
Fix Suggestion:
Update to version v1.1.12
https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.0.2
Fix Suggestion:
Update to version v2.0.2
https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) =v4.0.0 <v4.0.1
Fix Suggestion:
Update to version v4.0.1
https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) =v3.0.0 <v3.0.1
Fix Suggestion:
Update to version v3.0.1
brace-expansion (NPM):
Affected version(s) >=1.0.0 <1.1.12
Fix Suggestion:
Update to version 1.1.12
brace-expansion (NPM):
Affected version(s) =4.0.0 <4.0.1
Fix Suggestion:
Update to version 4.0.1
brace-expansion (NPM):
Affected version(s) >=2.0.0 <2.0.2
Fix Suggestion:
Update to version 2.0.2
brace-expansion (NPM):
Affected version(s) =3.0.0 <3.0.1
Fix Suggestion:
Update to version 3.0.1
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
1.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
3.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Exploit Maturity
PROOF-OF-CONCEPT
Weakness Type (CWE)
Inefficient Regular Expression Complexity
Uncontrolled Resource Consumption
EPSS
Base Score:
0.09