CVE-2025-5889

published 9 Jun 2025 · updated 16 Nov 2026

juliangruber brace-expansion index.js expand redos

4.1MediumCVSS 3.1EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
juliangruber=1.1.0, =1.1.1, =1.1.10, =1.1.11, =1.1.2, =1.1.3, =1.1.4, =1.1.5, =1.1.6, =1.1.7, =1.1.8, =1.1.9, =2.0.0, =2.0.1, =3.0, =4.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-5889 severity on Zeptric[![CVE-2025-5889](https://zeptric.io/badge/cve/CVE-2025-5889.svg)](https://zeptric.io/cve/CVE-2025-5889)