CVE-2025-5889juliangruber brace-expansion
Low 1.3
Follow: this CVE · juliangruber · juliangruber brace-expansion We alert you by email or Slack (account required).
- Priority
- 8
- CVSS 4.0
- 1.3
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 9, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for brace-expansion.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | brace-expansion |
≥ 2.0.0 < 2.0.2 |
2.0.2 |
npm install brace-expansion@2.0.2 |
| npm | brace-expansion |
≥ 1.0.0 < 1.1.12 |
1.1.12 |
npm install brace-expansion@1.1.12 |
| npm | brace-expansion |
≥ 3.0.0 < 3.0.1 |
3.0.1 |
npm install brace-expansion@3.0.1 |
| npm | brace-expansion |
≥ 4.0.0 < 4.0.1 |
4.0.1 |
npm install brace-expansion@4.0.1 |
Per OSV / GitHub Advisories (GHSA-v6h2-p8h4-qcjw). Check the version in your lockfile before upgrading.
Affected products
- juliangruber · brace-expansion
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- velociraptor-0.7.0.4.git185.a5708584-2.1 on GA media · SUSE · openSUSE-SU-2026:11126-1 · Jun 25, 2026 Critical
- Security update for tree-sitter-ruby · SUSE · openSUSE-SU-2026:20998-1 · Jun 22, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.