{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-13149","id":"CVE-2026-13149","title":"brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups","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 rat","descriptionLong":"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":"2026-06-30T08:30:34.502Z","updated":"2026-10-28T02:30:23.941410230Z","reserved":"2026-06-24T10:17:07.027Z","status":"Deferred","rejected":false,"assigner":"seal","metric":{"version":"4.0","score":7.7,"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/S:N/AU:Y/R:U/V:D/RE:M/U:Amber","rating":"high","source":"seal"},"metrics":[{"version":"4.0","score":7.7,"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/S:N/AU:Y/R:U/V:D/RE:M/U:Amber","rating":"high","source":"seal"},{"version":"4.0","score":7.7,"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","rating":"high","source":"22e2d327-25fe-45d7-9f0c-dcd23b7108df"},{"version":"4.0","score":null,"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/S:N/AU:Y/R:U/V:D/RE:M/U:Amber","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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/S:N/AU:Y/R:U/V:D/RE:M/U:Amber","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"high","products":["juliangruber brace-expansion"],"affectedProducts":[{"vendor":"juliangruber","product":"brace-expansion","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThanOrEqual":"5.0.6","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"brace-expansion","purl":"pkg:npm/brace-expansion","ranges":[">=3.0.0 <5.0.7","<1.1.16",">=2.0.0 <2.1.2"],"fixed":["5.0.7","1.1.16","2.1.2"],"advisory":"GHSA-3jxr-9vmj-r5cp"}],"cwes":["CWE-400","CWE-407"],"aliases":["GHSA-3jxr-9vmj-r5cp"],"references":[{"url":"https://github.com/juliangruber/brace-expansion/commit/c7e33ec13ac1a684c116720843ce24e208611754","tags":["fix","web"]},{"url":"https://www.npmjs.com/package/brace-expansion","tags":["web"]},{"url":"https://registry.npmjs.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13149.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13149","tags":["advisory"]},{"url":"https://github.com/juliangruber/brace-expansion","tags":["package"]},{"url":"https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-3jxr-9vmj-r5cp","tags":["web"]},{"url":"https://github.com/juliangruber/brace-expansion/pull/122","tags":["web"]},{"url":"https://github.com/juliangruber/brace-expansion/pull/123","tags":["web"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/835d6be91201122d9adffb0c0c8c094189ace265","tags":["web"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/d74e63030c012e3b7ae81657b8d665619cd51b95","tags":["web"]},{"url":"https://github.com/juliangruber/brace-expansion/releases/tag/v1.1.16","tags":["web"]},{"url":"https://github.com/juliangruber/brace-expansion/releases/tag/v2.1.2","tags":["web"]},{"url":"https://github.com/juliangruber/brace-expansion/releases/tag/v5.0.7","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00364,"epssPercentile":0.30865,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-13149","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13149","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-13149","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3jxr-9vmj-r5cp","ok":true,"note":"GHSA-3jxr-9vmj-r5cp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-13149","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}