CVE-2026-13149 Affecting ts-patch package, versions <4.0.1-r41


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-WOLFILATEST-TSPATCH-18496325
  • published1 Aug 2026
  • disclosed30 Jun 2026

Introduced: 30 Jun 2026

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

How to fix?

Upgrade Wolfi ts-patch to version 4.0.1-r41 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ts-patch package and not the ts-patch package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1