CVE-2025-5889: Node brace expansion · A vulnerability was found in juliangruber brace-expansion up to
Affects node-brace-expansionSource GCVE Database
Public exploit available · CVSS 2.3 Low.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10node-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2025-5889 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-5889 (opens in a new tab)
- gist.github.com/mmmsssttt404/37a40ce7d6e5ca604858fe30814d9466 (opens in a new tab)
- github.com/juliangruber/brace-expansion/pull/65 (opens in a new tab)
- github.com/juliangruber/brace-expansion/commit/0b6a9781e18e9d2769bb2931f4856d1360243ed2 (opens in a new tab)
- github.com/juliangruber/brace-expansion/pull/65/commits/a5b98a4f30d7813266b221435e1eaaf25a1b0ac5 (opens in a new tab)
- github.com/juliangruber/brace-expansion/releases/tag/v4.0.1 (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)