Security mailing lists by PureSourceCode

CVE-2026-13149

HIGH 7.7CVSS 4.0

brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups

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.

Published
30 Jun 2026
Last modified
25 Oct 2026
Assigned by
22e2d327-25fe-45d7-9f0c-dcd23b7108df
NVD status
Deferred
Weakness
CWE-400CWE-407
Also known as
GHSA-3jxr-9vmj-r5cp
Sources
NVDJSONOSV GHSA-3jxr-9vmj-r5cpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 22e2d327-25fe-45d7-9f0c-dcd23b7108df (Secondary) CVSS 4.0 HIGH 7.7 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
OSV GitHub CVSS 4.0 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/S:N/AU:Y/R:U/V:D/RE:M/U:Amber
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm brace-expansion >= 3.0.0, < 5.0.7 5.0.7
OSV npm brace-expansion < 1.1.16 1.1.16
OSV npm brace-expansion >= 2.0.0, < 2.1.2 2.1.2

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 30 Jun 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.