Denial of servicein juliangruber brace-expansion.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade brace-expansion (npm) to 1.1.12, 2.0.2, 3.0.1, 4.0.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 Jun 2025CVE ID reserved by VulDB.
- 9 Jun 2025Published in the CVE List.
- 11 Jun 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other brace-expansion vulnerabilities
Same weakness: Regular expression denial of service
- vuldb.com vdb-entry, technical-description
- vuldb.com signature, permissions-required
- vuldb.com third-party-advisory
- github.com issue-tracking, patch
- github.com patch
Patchminder. CVE-2025-5889: Denial of service in juliangruber brace-expansion. https://patchminder.com/cve/cve-2025-5889/ (accessed 5 December 2026).