CVE-2025-5889
A vulnerability was found in juliangruber brace-expansion up to …
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
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/mmmsssttt404/37a40ce7d6e5ca604858fe30814d9466
- github.com/juliangruber/brace-expansion/pull/65/commits/a5b98a4f30d7813266b221435e1eaaf25a
- github.com/juliangruber/brace-expansion/releases/tag/v4.0.1
- vuldb.com/?ctiid.311660
- vuldb.com/?id.311660
- vuldb.com/?submit.585717
- nvd.nist.gov/vuln/detail/CVE-2025-5889
- github.com/juliangruber/brace-expansion/commit/0b6a9781e18e9d2769bb2931f4856d1360243ed2
- nvd.nist.gov/vuln/detail/CVE-2025-5889
- cve.org/CVERecord?id=CVE-2025-5889
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.