{"id":"CVE-2026-33750","sourceIdentifier":"security-advisories@github.com","published":"2026-03-27T15:16:57.297","lastModified":"2026-10-26T22:10:00.163","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13, a brace pattern with a zero step value (e.g., `{1..2..0}`) causes the sequence generation loop to run indefinitely, making the process hang for seconds and allocate heaps of memory. Versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13 fix the issue. As a workaround, sanitize strings passed to `expand()` to ensure a step value of `0` is not used."},{"lang":"es","value":"La biblioteca brace-expansion genera cadenas arbitrarias que contienen un prefijo y un sufijo comunes. Antes de las versiones 5.0.5, 3.0.2, 2.0.3 y 1.1.13, un patrón de corchetes con un valor de paso cero (por ejemplo, ’{1..2..0}’) hace que el bucle de generación de secuencia se ejecute indefinidamente, haciendo que el proceso se cuelgue por segundos y asigne montones de memoria. Las versiones 5.0.5, 3.0.2, 2.0.3 y 1.1.13 solucionan el problema. Como solución alternativa, sanee las cadenas pasadas a expand() para asegurar que no se utilice un valor de paso de 0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"juliangruber","product":"brace-expansion","versions":[{"version":">= 4.0.0, < 5.0.5","status":"affected"},{"version":">= 3.0.0, < 3.0.2","status":"affected"},{"version":">= 2.0.0, < 2.0.3","status":"affected"},{"version":"< 1.1.13","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":3.6},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-03-27T14:47:58.490818Z","id":"CVE-2026-33750","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-400"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:juliangruber:brace-expansion:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.1.13","matchCriteriaId":"3EC474EB-1EFC-4BF9-AF15-AEC3600D7400"},{"vulnerable":true,"criteria":"cpe:2.3:a:juliangruber:brace-expansion:*:*:*:*:*:node.js:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.0.3","matchCriteriaId":"D072E860-8A88-42C8-ABCC-A2E57D1A09FB"},{"vulnerable":true,"criteria":"cpe:2.3:a:juliangruber:brace-expansion:*:*:*:*:*:node.js:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.0.2","matchCriteriaId":"32CE3566-9064-4CC7-8A52-38E16995F8FF"},{"vulnerable":true,"criteria":"cpe:2.3:a:juliangruber:brace-expansion:*:*:*:*:*:node.js:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.0.5","matchCriteriaId":"82D2D10D-92F3-4E73-856F-BCDD0F9B63AA"}]}]}],"references":[{"url":"https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daaf2ab30e5794a/src/index.ts#L107-L113","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daaf2ab30e5794a/src/index.ts#L184","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/311ac0d54994158c0a384e286a7d6cbb17ee8ed5","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/7fd684f89fdde3549563d0a6522226a9189472a2","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/b9cacd9e55e7a1fa588fe4b7bb1159d52f1d902a","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/issues/98","source":"security-advisories@github.com","tags":["Issue Tracking"]},{"url":"https://github.com/juliangruber/brace-expansion/pull/95","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/pull/96","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/pull/97","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-f886-m6hf-6m8v","source":"security-advisories@github.com","tags":["Mitigation","Vendor Advisory"]}]}