CVE catalog

CVE-2026-102277

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns w

[CVE catalog]

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

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.

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.21fixed
Opensusepi-coding-agenttumbleweed1.0.0-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.21Not reportedGHSA-Q2HR-2G5M-VWHRNot reported
Opensusepi-coding-agentrpmtumbleweed1.0.0-1.1Not reportedOPENSUSE-SU-2026:11967-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.0-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.0-1.1

      Version impact unknown

      nvd · pi-coding-agent · opensuse · tumbleweed

Observed:

References