CVE-2026-13149
brace-expansion through 5.0.6 is vulnerable to denial of service. …
brace-expansion through 5.0.6 is vulnerable to denial of service. The expand() function exhibits exponential-time complexity in the number of consecutive non-expanding '{}' brace groups. An attacker who passes a crafted string to expand(), directly or transitively, can cause significant CPU consumption and event-loop blocking. The max option does not mitigate this, as it bounds the output size rather than the recursion work.
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.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/juliangruber/brace-expansion/commit/c7e33ec13ac1a684c116720843ce24e208611754
- www.npmjs.com/package/brace-expansion
- github.com/juliangruber/brace-expansion/security/advisories/GHSA-3jxr-9vmj-r5cp
- nvd.nist.gov/vuln/detail/CVE-2026-13149
- github.com/juliangruber/brace-expansion/pull/122
- github.com/juliangruber/brace-expansion/pull/123
- github.com/juliangruber/brace-expansion/commit/835d6be91201122d9adffb0c0c8c094189ace265
- github.com/juliangruber/brace-expansion/commit/d74e63030c012e3b7ae81657b8d665619cd51b95
- nvd.nist.gov/vuln/detail/CVE-2026-13149
- cve.org/CVERecord?id=CVE-2026-13149
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.