Inefficient Algorithmic Complexity Affecting org.webjars.npm:brace-expansion package, versions [,5.0.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-17706651
  • published7 Jul 2026
  • disclosed30 Jun 2026
  • creditUnknown

Introduced: 30 Jun 2026

CVE-2026-13149  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:brace-expansion to version 5.0.9 or higher.

Overview

org.webjars.npm:brace-expansion is a WebJar for brace-expansion.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the expand function. An attacker can cause excessive CPU consumption and block the event loop by supplying a specially crafted string containing multiple consecutive non-expanding '{}' brace groups. The max option does not prevent this issue, as it only limits the output size and not the computational workload.

CVSS Base Scores

version 4.0
version 3.1