CVE Explorer
CVE-2026-13149
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-407","description":"CWE-407 Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/problemTypes/0/descriptions/1
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://registry.npmjs.org","defaultStatus":"unaffected","packageName":"brace-expansion","product":"brace-expansion","repo":"https://github.com/juliangruber/brace-expansion","vendor":"juliangruber","versions":[{"lessThanOrEqual":"5.0.6","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"YES","Recovery":"USER","Safety":"NEGLIGIBLE","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.7,"baseSeverity":"HIGH","exploitMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"NONE","providerUrgency":"AMBER","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"DIFFUSE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentia…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-407","description":"CWE-407 Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/problemTypes/0/descriptions/1
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://github.com/juliangruber/brace-expansion/commit/c7e33ec13ac1a684c116720843ce24e208611754"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/references/0
{"url":"https://www.npmjs.com/package/brace-expansion"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6cf8bfcb527982baa1951ea7fd355db49f2e971bbad4b99a33f579a2f95727c1 · sha256:66b42c0cf531ac30… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.