Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 72%

CVE-2026-13149: CWE-400 Uncontrolled Resource Consumption in juliangruber brace-expansion

0
High
VulnerabilityCVE-2026-13149cvecve-2026-13149cwe-400cwe-407
Published: 06/30/2026 (06/30/2026, 08:30:34 UTC)
Source: CVE Database V5
Vendor/Project: juliangruber
Product: brace-expansion

Description

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 v4.0

Score 7.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
N
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

Affected software

brace-expansion
pkg:npm/brace-expansion
Affected versions
<=5.0.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 12:23:13 UTC

Technical Analysis

CVE-2026-13149 describes a denial of service vulnerability in the juliangruber brace-expansion library through version 5.0.6. The vulnerability arises from the expand() function's exponential-time complexity in handling consecutive non-expanding '{}' brace groups. An attacker can exploit this by passing a crafted string to expand(), either directly or indirectly, leading to significant CPU consumption and blocking of the event loop. The max option, which bounds output size, does not mitigate the underlying recursion and CPU usage problem. This vulnerability is categorized under CWE-400 (Uncontrolled Resource Consumption).

Potential Impact

Successful exploitation results in denial of service by causing excessive CPU consumption and event-loop blocking, potentially degrading or halting application functionality that relies on the brace-expansion library. There is no indication of privilege escalation, data disclosure, or other impacts beyond resource exhaustion.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor the vendor's communications for updates and consider limiting or sanitizing input to the expand() function to avoid triggering the vulnerability until a patch is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
seal
Date Reserved
2026-06-24T10:17:07.027Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4391c127e9c7971986645c

Added to database: 06/30/2026, 09:52:01 UTC

Last enriched: 07/15/2026, 12:23:13 UTC

Last updated: 08/13/2026, 15:16:13 UTC

Views: 157

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses