CVE catalog

CVE-2026-102278

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause expand_() to recurse once per

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.46% · Oct 25, 2026

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause expand_() to recurse once per nesting level at comma-member and single-set expansion sites, exhausting the native stack before output limits can apply and potentially terminating the Node.js process. expand_ performs uncontrolled recursion for nested brace alternatives and single-part sets. deeply nested brace groups supplied as an untrusted pattern. expand_ is affected. expand is affected. Comma members is affected. Single set is affected. native stack exhaustion during nested sub-expansion. process-terminating denial of service. This issue is fixed in versions 1.1.20, 2.1.6, 3.0.8, and 5.0.11.

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-1fixed
Debiannode-brace-expansionforky2.1.7+~1.1.2-1fixed
Debiannode-brace-expansiontrixie2.0.1+~1.1.0-2vulnerable
Debiannode-brace-expansionbookworm2.0.1-2vulnerable
Npmbrace-expansionNot reported1.1.20fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-brace-expansionsourcesid2.1.7+~1.1.2-1not yet assignedNot reported[1149649]
Debiannode-brace-expansionsourceforky2.1.7+~1.1.2-1not yet assignedNot reported[1149649]
Debiannode-brace-expansionsourcetrixie(unfixed)not yet assignedNot reported[1149649]
Debiannode-brace-expansionsourcebookworm(unfixed)not yet assignedNot reported[1149649]
Npmbrace-expansionnpmNot reported1.1.20Not reportedGHSA-QHR7-859C-M2P7Not reported

[Debian bug #1149649]

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

Observed:

References