Live threats

All CVEs / juliangruber

CVE-2026-13149juliangruber brace-expansion

High 7.7 No auth needed

Priority
61
CVSS 4.0
7.7
EPSS
—
Auth required
No
Published
Jun 30, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-407
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:D/RE:M/U:Amber

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for brace-expansion.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm brace-expansion ≥ 3.0.0 < 5.0.7 5.0.7 npm install brace-expansion@5.0.7
npm brace-expansion < 1.1.16 1.1.16 npm install brace-expansion@1.1.16
npm brace-expansion ≥ 2.0.0 < 2.1.2 2.1.2 npm install brace-expansion@2.1.2

Per OSV / GitHub Advisories (GHSA-3jxr-9vmj-r5cp). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: SUSE (+5), Red Hat (+13)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.