patchminder
Proof of concept · CISA assessment CVE-2025-5889

Denial of servicein juliangruber brace-expansion.

Published 9 Jun 2025 · Updated 11 Jun 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Low 3.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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 now
  • Upgrade brace-expansion (npm) to 1.1.12, 2.0.2, 3.0.1, 4.0.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
brace-expansion
1.1.0
Not confirmed
CVE record
brace-expansion
1.1.1
Not confirmed
CVE record
brace-expansion
1.1.2
Not confirmed
CVE record
brace-expansion
1.1.3
Not confirmed
CVE record
brace-expansion
1.1.4
Not confirmed
CVE record
brace-expansion
1.1.5
Not confirmed
CVE record
brace-expansion
1.1.6
Not confirmed
CVE record
brace-expansion
1.1.7
Not confirmed
CVE record
brace-expansion
1.1.8
Not confirmed
CVE record
brace-expansion
1.1.9
Not confirmed
CVE record
brace-expansion
1.1.10
Not confirmed
CVE record
brace-expansion
1.1.11
Not confirmed
CVE record
brace-expansion
2.0.0
Not confirmed
CVE record
brace-expansion
2.0.1
Not confirmed
CVE record
brace-expansion
3.0
Not confirmed
CVE record
brace-expansion
4.0
Not confirmed
CVE record
brace-expansion (npm)
2.0.0 to before 2.0.2
2.0.2
GitHub advisory
brace-expansion (npm)
1.0.0 to before 1.1.12
1.1.12
GitHub advisory
brace-expansion (npm)
3.0.0 to before 3.0.1
3.0.1
GitHub advisory
brace-expansion (npm)
4.0.0 to before 4.0.1
4.0.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 9 Jun 2025
    CVE ID reserved by VulDB.
  2. 9 Jun 2025
    Published in the CVE List.
  3. 11 Jun 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known
Referencegist.github.comnamed as exploit in the CVE record

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.

Related

Other brace-expansion vulnerabilities

Same weakness: Regular expression denial of service

All CWE-1333 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-5889: Denial of service in juliangruber brace-expansion. https://patchminder.com/cve/cve-2025-5889/ (accessed 5 December 2026).