CVE catalog

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 w

[CVE catalog]

Severity
High · CVSS 7.7CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-brace-expansionsid2.1.7+~1.1.2-1vulnerable
Debiannode-brace-expansionforky2.1.7+~1.1.2-1vulnerable
Debiannode-brace-expansiontrixie2.0.1+~1.1.0-2vulnerable
Debiannode-brace-expansionbookworm2.0.1-2vulnerable
Cpenode-brace-expansionNot reportedNot reportedvulnerable
Npmbrace-expansionNot reported2.1.2fixed
Npmbrace-expansionNot reported1.1.16fixed
Npmbrace-expansionNot reported2.1.2fixed
Opensuseagama-integration-teststumbleweed1785848065.5562c7c-4.1fixed
Opensusepython-pytest-htmlleap 16.04.1.1-bp160.4.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-brace-expansionsourcesid(unfixed)not yet assignedNot reported[1141325]
Debiannode-brace-expansionsourceforky(unfixed)not yet assignedNot reported[1141325]
Debiannode-brace-expansionsourcetrixie(unfixed)not yet assignedNot reported[1141325]
Debiannode-brace-expansionsourcebookworm(unfixed)not yet assignedNot reported[1141325]
Npmbrace-expansionnpmNot reported2.1.2Not reportedGHSA-3JXR-9VMJ-R5CPNot reported
Npmbrace-expansionnpmNot reported1.1.16Not reportedNot reportedNot reported
Npmbrace-expansionnpmNot reported2.1.2Not reportedNot reportedNot reported
Opensuseagama-integration-testsrpmtumbleweed1785848065.5562c7c-4.1Not reportedOPENSUSE-SU-2026:11452-1Not reported
Opensusepython-pytest-htmlrpmleap 16.04.1.1-bp160.4.1Not reportedOPENSUSE-SU-2026:21312-1Not reported

[Debian bug #1141325]

Notes

[trixie] node-brace-expansion: Minor issue [bookworm] node-brace-expansion: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.0.1-2 · all · bookworm

      Affected

      nvd · node-brace-expansion · debian · bookworm; nvd · node-brace-expansion · debian · 12

    • 2.0.1-2 · all · bookworm

      Affected

      nvd · node-brace-expansion · debian · bookworm; nvd · node-brace-expansion · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.0.1+~1.1.0-2 · all · trixie

      Affected

      nvd · node-brace-expansion · debian · 13

    • 2.0.1+~1.1.0-2 · all · trixie

      Affected

      nvd · node-brace-expansion · debian · 13

[openSUSE Tumbleweed]

Observed:

References