CVE catalog

CVE-2026-102276

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCo

[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.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCommaParts because parseCommaParts recursively processes the remainder once per brace group and uses push.apply to pass every element of a very large comma-part array as a function argument. Patterns containing many comma-separated brace groups trigger the recursive path, while the large array triggers the argument-array path without deep recursion. These paths cause recursive and argument-array native stack exhaustion before max or maxLength can limit output, potentially terminating the Node.js process in a process-terminating denial of service. This issue is fixed in versions 1.1.19, 2.1.5, 3.0.7, and 5.0.10.

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.19fixed
Opensusepi-coding-agenttumbleweed1.0.2-1.1fixed
Opensusepi-coding-agentleap 16.01.0.4-bp160.1.1fixed

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.19Not reportedGHSA-6J4F-FJ2G-MC7PNot reported
Opensusepi-coding-agentrpmtumbleweed1.0.2-1.1Not reportedOPENSUSE-SU-2026:12062-1Not reported
Opensusepi-coding-agentrpmleap 16.01.0.4-bp160.1.1Not reportedOPENSUSE-SU-2026:22111-1Not 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

[openSUSE Tumbleweed]

  • [pi-coding-agent]Affected

    Source package: [pi-coding-agent]

    Details (1)
    • 0.84.4-1.1 · noarch · tumbleweed

      Affected · Fixed: 1.0.2-1.1

      nvd · pi-coding-agent · opensuse · tumbleweed

  • Source package: [pi-coding-agent]

    Details (1)
    • 0.84.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.0.2-1.1

      Version impact unknown

      nvd · pi-coding-agent · opensuse · tumbleweed

Observed:

References