Home / juliangruber / brace-expansion / CVE-2026-102277
CVE-2026-102277: is it exploited, and which versions of juliangruber brace-expansion are affected and fixed?
CVE-2026-102277 is a denial of service (uncontrolled resource consumption) vulnerability in juliangruber brace-expansion. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: brace-expansion from 4.0.0 before 5.0.12, brace-expansion from 3.0.0 before 3.0.9, brace-expansion from 2.0.0 before 2.1.7 and 1 more (GitHub advisory GHSA-q2hr-2g5m-vwhr). Fixed in 5.0.12, 3.0.9, 2.1.7 and 1.1.21 (GitHub advisory GHSA-q2hr-2g5m-vwhr). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-102277?
brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
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.
From the CVE record by GitHub_M, last updated September 29, 2026, 19:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| juliangruber | brace-expansion | >= 4.0.0, < 5.0.12 >= 3.0.0, < 3.0.9 >= 2.0.0, < 2.1.7 < 1.1.21 |
As the CVE record by GitHub_M states it, last updated September 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | brace-expansion | >= 4.0.0, < 5.0.12 | 5.0.12 | GHSA-q2hr-2g5m-vwhr |
| npm | brace-expansion | >= 3.0.0, < 3.0.9 | 3.0.9 | GHSA-q2hr-2g5m-vwhr |
| npm | brace-expansion | >= 2.0.0, < 2.1.7 | 2.1.7 | GHSA-q2hr-2g5m-vwhr |
| npm | brace-expansion | < 1.1.21 | 1.1.21 | GHSA-q2hr-2g5m-vwhr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 29, 2026. Summary: brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service.
How severe is CVE-2026-102277?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-102277 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 29, 2026)
- EPSS
- 0.44% probability of exploitation activity in the next 30 days, percentile 39.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-q2hr-2g5m-vwhr x_refsource_CONFIRM
- https://github.com/juliangruber/brace-expansion/commit/33a5ef17b8d800bbfa8c52b14c39043b6aac1a96 x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/commit/bdff773f98e5988616b7039cc9b508df5d640b22 x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/commit/c55e67d8d8b1c56a2474afff15c2891166b2d364 x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/commit/ffdfa3e3806bed17c0874b8f1439b084de354a7e x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 28, 2026
- Published
- September 28, 2026, 20:54 UTC
- CVE record updated
- September 29, 2026, 19:38 UTC by GitHub_M
- NVD
- Deferred, last modified September 30, 2026, 19:57 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect brace-expansion?
- Sep 28, 2026CVE-2026-102278 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Sep 28, 2026CVE-2026-102276 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Aug 3, 2026CVE-2026-69152 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Jul 23, 2026CVE-2026-14257 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Jun 30, 2026CVE-2026-13149 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- May 29, 2026CVE-2026-45149 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-33750 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Jun 9, 2025CVE-2025-5889 juliangruber brace-expansion: regular expression denial of service (ReDoS)
Questions about CVE-2026-102277
Is CVE-2026-102277 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.44% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of juliangruber brace-expansion are affected by CVE-2026-102277?
brace-expansion from 4.0.0 before 5.0.12, brace-expansion from 3.0.0 before 3.0.9, brace-expansion from 2.0.0 before 2.1.7 and brace-expansion before 1.1.21, per the GitHub advisory GHSA-q2hr-2g5m-vwhr. The tables above give every range the sources list.
Which version fixes CVE-2026-102277?
5.0.12, 3.0.9, 2.1.7 and 1.1.21, per the GitHub advisory GHSA-q2hr-2g5m-vwhr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-102277?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-102277?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.