
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
- Severity
- Medium · CVSS 5.3
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-brace-expansion | sid | 2.1.7+~1.1.2-1 | fixed |
| Debian | node-brace-expansion | forky | 2.1.7+~1.1.2-1 | fixed |
| Debian | node-brace-expansion | trixie | 2.0.1+~1.1.0-2 | vulnerable |
| Debian | node-brace-expansion | bookworm | 2.0.1-2 | vulnerable |
| Npm | brace-expansion | Not reported | 1.1.21 | fixed |
| Opensuse | pi-coding-agent | tumbleweed | 1.0.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-brace-expansion | source | sid | 2.1.7+~1.1.2-1 | not yet assigned | Not reported | [1149649] |
| Debian | node-brace-expansion | source | forky | 2.1.7+~1.1.2-1 | not yet assigned | Not reported | [1149649] |
| Debian | node-brace-expansion | source | trixie | (unfixed) | not yet assigned | Not reported | [1149649] |
| Debian | node-brace-expansion | source | bookworm | (unfixed) | not yet assigned | Not reported | [1149649] |
| Npm | brace-expansion | npm | Not reported | 1.1.21 | Not reported | GHSA-Q2HR-2G5M-VWHR | Not reported |
| Opensuse | pi-coding-agent | rpm | tumbleweed | 1.0.0-1.1 | Not reported | OPENSUSE-SU-2026:11967-1 | Not reported |
Notes
[trixie] node-brace-expansion: Minor issue [bookworm] node-brace-expansion: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-brace-expansion]Affected
Details (2)
2.0.1-2· all · bookwormAffected
nvd · node-brace-expansion · debian · bookworm; nvd · node-brace-expansion · debian · 12
2.0.1-2· all · bookwormAffected
nvd · node-brace-expansion · debian · bookworm; nvd · node-brace-expansion · debian · 12
[Debian 13 (Trixie)]
- [node-brace-expansion]Affected
Details (2)
2.0.1+~1.1.0-2· all · trixieAffected
nvd · node-brace-expansion · debian · 13
2.0.1+~1.1.0-2· all · trixieAffected
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 · tumbleweedAffected · Fixed:
1.0.0-1.1nvd · pi-coding-agent · opensuse · tumbleweed
- [pi-coding-agent-examples]Unknown
Source package: [pi-coding-agent]
Details (1)
0.84.4-1.1· noarch · tumbleweedUnknown · Fixed:
1.0.0-1.1Version impact unknown
nvd · pi-coding-agent · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11967-1.json]
- [https://github.com/advisories/GHSA-q2hr-2g5m-vwhr]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-102277]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-102277]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11967-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-102277]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102277.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]