# CVE-2026-102277: brace-expansion: Quadratic-time expansion of the \`{a},b}\` rewrite causes CPU denial of service

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-28 · Modified: 2026-09-29
- Aliases: UBUNTU-CVE-2026-102277, DEBIAN-CVE-2026-102277, CGA-363v-v865-548v, CGA-3ffj-xcff-3h5f, CGA-3fg3-fxq9-r385, CGA-443v-98m9-57x3, CGA-49f7-mc3x-696m, CGA-4cr2-6gx6-2r3h, CGA-4xrm-w49v-pr9j, CGA-6rvj-42w3-hvpx, CGA-73j6-9j5m-2gg7, CGA-786m-966j-82g8, CGA-7cwc-g997-w3qh, CGA-7gc2-jg66-rf5g, CGA-7vrp-2mx3-fqxr, CGA-7wvf-2p53-6qc8, CGA-98h4-f46j-mfhm, CGA-9jj3-fw29-mp6g, CGA-9vgc-2fw8-cj6v, CGA-c9mp-qjx6-7ghq, CGA-cm78-mrxx-94p3, CGA-cv27-rwwj-qq78, CGA-f6hg-jjvc-m6p6, CGA-f77f-q66f-ghgq, CGA-fqjj-q3c8-g8x8, CGA-fxjv-249q-rmcv, CGA-gf7v-xw63-gq64, CGA-gjxj-6fxp-q3jv, CGA-jppj-q4g8-fmcx, CGA-jvw2-4r27-qpwp, CGA-m525-3pfr-q6qh, CGA-m7j5-x26v-5fm7, CGA-mjp8-p3h2-6x5w, CGA-mm57-xp22-jv2x, CGA-mxrp-vjjx-4f24, CGA-pc48-8wm9-7v7v, CGA-pjmj-3gpf-hqpf, CGA-q49h-427f-jvxq, CGA-r5wx-xhqr-7wph, CGA-v4q3-xx78-hj86, CGA-vmg8-7rp2-6vhj, CGA-wm2v-73xw-88v2, CGA-wvrf-7335-5742, CGA-x36x-xm42-h6qg, CGA-x7xj-xjf8-q3gc, CGA-xhg6-x46h-5r35, GHSA-q2hr-2g5m-vwhr, CGA-23w8-2f4h-879v, CGA-25gr-chfm-fqj9, CGA-2687-rjgg-jw3q, CGA-26q3-wwc6-8r29, CGA-2944-mj9w-656q, CGA-29p7-vvgr-4627, CGA-2m4q-5xgw-w544, CGA-2m94-69h7-6fwv, CGA-2pm8-6rh5-q2q2, CGA-2rv9-qpvf-hp66, CGA-2v53-q9v4-fr6c, CGA-2xx7-mr2j-2hw4, CGA-32gr-8crj-56x9, CGA-342p-j7xg-fv6h, CGA-377v-7pjc-7hrp, CGA-37c8-f3ww-3qrq, CGA-3867-x43w-vw3j, CGA-3f3p-32hp-79v4, CGA-3g2w-px2h-hxqf, CGA-3gh6-5mpm-986h, CGA-3gr5-5x6h-2h7p, CGA-3h2p-h3q3-mwcm, CGA-3j69-p72w-fvg5, CGA-3pmm-pg3h-h6rj, CGA-3qr3-f3j5-98cc, CGA-3wvg-v4xc-w9pg, CGA-43hr-8vh3-v255, CGA-45pf-7c78-w7xv, CGA-46fg-vw67-6jxw, CGA-4928-hr27-622g, CGA-4fcr-gvwh-p8fm, CGA-4j3x-wc5q-q7qh, CGA-4pc9-wp4x-989m, CGA-4rqv-3m4m-rp39, CGA-4w82-4424-6mqv, CGA-4wg8-6mgp-56fw, CGA-4xvh-67hx-q55h, CGA-5237-vgfg-qm7w, CGA-52cj-gwp8-87wf, CGA-52x4-phx7-c954, CGA-53j8-p5v6-h7hc, CGA-53xg-2w2c-mpg8, CGA-5466-2rq2-h3x9, CGA-5789-vx3r-f3qc, CGA-592v-p7ph-qj89, CGA-5ccx-grmw-rhr2, CGA-5cq2-r64w-h8cv, CGA-5f2c-9m3v-hvcx, CGA-5hj5-2cvh-hx74, CGA-5j4g-frvr-7pr5, CGA-5j53-j68g-q5g7, CGA-5qw8-fg4x-8287, CGA-5vr4-qgfh-m2cp, CGA-5w5x-9995-2fx4, CGA-5wf4-86q6-gx53, CGA-62fc-3jj8-3fxr, CGA-63xm-p2m3-7mww, CGA-65gr-4gr9-8hgm, CGA-67fm-fmc4-pjmr, CGA-67w4-c5fq-pvph, CGA-68g5-962v-r445, CGA-68q3-g78q-r9xf, CGA-696f-pwjh-qx2p, CGA-6cw2-cj7f-vwpw, CGA-6fh4-h66c-q8qf, CGA-6gv7-36x8-22h9, CGA-6j6p-jm87-4rjr, CGA-6jv9-7h2f-7x22, CGA-6mf4-jpq6-g2wj, CGA-6q97-fx72-9m68, CGA-6qfp-v7g9-3p56, CGA-6r56-r2xm-c2qf, CGA-6v69-63h8-vmgv, CGA-6v7h-qghr-vfxh, CGA-72rh-p3gm-r88j, CGA-74g9-h2g7-2h3m, CGA-77pm-5j2j-232h, CGA-789v-9v25-xw8x, CGA-79wr-rhpj-m5m6, CGA-7cpj-8phw-h6j3, CGA-7cvw-3x4m-p5wc, CGA-7f28-gm52-2pxv, CGA-7f3c-44w7-535v, CGA-7g88-6g4x-4v46, CGA-7gf8-q33h-492f, CGA-7gwf-r88m-q883, CGA-7h77-3jh7-6523, CGA-7j34-3fjw-5cxw, CGA-7mgg-2565-35rg, CGA-7p5g-5jw8-786g, CGA-7w9f-65fj-j9c6, CGA-7x6m-952q-5pj8, CGA-7xm4-mjvc-h98r, CGA-8299-95wf-pxwv, CGA-83rf-45g7-pvrc, CGA-8424-32cr-3wvm, CGA-884x-phgh-49r9, CGA-88qv-5j6f-fmhr, CGA-8955-hhpr-67mx, CGA-8fcx-fpgf-7jm4, CGA-8mv7-mjfj-p4hg, CGA-8p6m-87ww-gh85, CGA-8r5g-vqc9-vjxh, CGA-8rjq-v3wq-f9wr, CGA-8xc7-p4f8-47cx, CGA-9266-78qw-6pqp, CGA-9279-vf5r-2cxm, CGA-929v-m9m8-hp5p, CGA-92hm-72p3-f6jp, CGA-932j-72jx-g3mf, CGA-994g-8f8m-hr9f, CGA-99mm-mq49-827c, CGA-9cxr-53vw-2xfm, CGA-9fvx-885f-q2xm, CGA-9g7r-g4qw-x72p, CGA-9h53-hf5q-7chx, CGA-9h5r-96qg-w88p, CGA-9j7j-5227-p3cj, CGA-9mm6-2pg2-449v, CGA-9qj4-vcvg-rm3v, CGA-9qpx-mmhr-hr55, CGA-9r9m-29rq-3qjg, CGA-9vc3-rrg7-w2xh, CGA-9vcw-34pp-x58h, CGA-c497-27j7-g632, CGA-c53w-mxwg-29jc, CGA-c7gf-j8vm-v8jg, CGA-c7mg-55cg-pjmc, CGA-c8vh-6483-gg6h, CGA-ccr8-g9h6-h947, CGA-cf5f-x888-27hf, CGA-cgj6-xr3v-pq6h, CGA-cgm6-8pf5-5c9j, CGA-cjxp-gw8q-28fj, CGA-cqcr-3rq9-57qq, CGA-cr63-7x3x-8246, CGA-crhc-fc67-m2xx, CGA-cw7w-264j-23xc, CGA-cwmx-prxf-wr2v, CGA-cww9-r2xv-m8w8, CGA-f3g9-2jmx-7mr2, CGA-f3xp-p87x-f4vc, CGA-f43f-hghg-8vwq, CGA-f58w-hc4g-cgw5, CGA-f7qf-j599-j4qh, CGA-fhwq-3fp7-24m3, CGA-fj27-h2cw-9xfq, CGA-fm2j-5x2p-mrm8, CGA-fmm3-6hf5-6558, CGA-fv7x-gcvq-xpw3, CGA-fv89-m52q-7qgh, CGA-fvc5-xqg9-pwr3, CGA-fwgf-775c-xv4p, CGA-g5p3-vxvp-8jj7, CGA-gc7w-338h-xj24, CGA-gchm-w87c-q8hg, CGA-gmmf-g6jg-5j5g, CGA-gp63-95mg-h2g9, CGA-gvgm-w3jm-8q2r, CGA-gww9-8g5c-58mh, CGA-gxph-f52x-8mr5, CGA-h4jh-f9xw-qw3m, CGA-h5rw-jw3q-3h7r, CGA-h695-m25m-7qhv, CGA-h7h6-fvmq-q688, CGA-h7x4-jp4r-rjmr, CGA-h836-hqp3-ccgp, CGA-hcfj-gmm2-vh3p, CGA-hcq2-j3qv-h2f6, CGA-hf46-jwm4-mvvh, CGA-hfr4-37f6-rpgm, CGA-hhqh-f387-23qp, CGA-hm6c-cc86-f3v4, CGA-hq26-rq2h-3cx9, CGA-j2jp-4ppj-344v, CGA-j5rj-gx33-8xx5, CGA-j734-fhm7-fc46, CGA-j8fp-77r5-jwv4, CGA-j9rx-68gx-5q47, CGA-j9wg-h3c3-8v36, CGA-jf9g-mq5p-w2w3, CGA-jf9m-wh68-36p7, CGA-jfx6-86v3-2m2p, CGA-jjvj-4p4m-xvhg, CGA-jq5q-p3fc-cc9w, CGA-jvp6-gm93-2fch, CGA-m288-r6gx-2hj2, CGA-m4cg-gv7j-76g2, CGA-m4q3-8vx9-c6q7, CGA-m55w-9g9h-pcf9, CGA-m5c7-rxrw-vc8w, CGA-m6cq-wgg6-6w6p, CGA-m727-pwg5-rm5c, CGA-m76r-7492-qp3g, CGA-m77x-wf7g-r5c9, CGA-m848-cpfx-4jpj, CGA-m88q-w3m3-6493, CGA-mcv9-969g-pv3g, CGA-mgxx-f2mh-hqjp, CGA-mjq2-h78x-mpg3, CGA-mq6x-4ggm-v9hj, CGA-mqc7-pwf3-fc5w, CGA-p49w-mf23-f6pw, CGA-p5j8-6qm8-9hwh, CGA-p6pq-3mw5-qp47, CGA-p6xr-3m8w-hgr4, CGA-p72c-v59f-xv34, CGA-p7m3-2wg2-m796, CGA-pf38-g35j-9g2c, CGA-pf7p-6g7h-fmvh, CGA-pfx2-hm64-3x5g, CGA-phc3-cxfw-gvrr, CGA-pjwx-5g7q-7xq7, CGA-pm2f-wvx5-23wm, CGA-pqg4-f555-9gp5, CGA-q699-m873-xvpm, CGA-q6r9-g842-mhhr, CGA-q73w-f2wv-4q9w, CGA-q76r-938x-qq9x, CGA-q8m7-8cfv-725q, CGA-q968-j6p4-mhpq, CGA-qhv7-c6pj-5jg7, CGA-qmw8-vfr6-g3g2, CGA-qqff-j8jh-pp58, CGA-qr2m-fj5r-x7j9, CGA-qx4h-mg7f-559g, CGA-qx99-3hrx-7h4g, CGA-r2jj-vrgm-2prw, CGA-r3w6-vv67-jj84, CGA-r69v-g2j5-qx9g, CGA-r7gh-r58m-qg62, CGA-r7w4-v37p-5ch3, CGA-r7xg-5489-57cg, CGA-r83g-vrg8-9wwh, CGA-r9wm-6mcw-2m32, CGA-rccp-3rqr-6qv4, CGA-rhv4-6gh3-f62r, CGA-rj7j-vrp5-qj7c, CGA-rpf8-pghw-qrg2, CGA-rvfx-fvgr-p3v6, CGA-rw5v-vv2r-7wp3, CGA-v2v6-73ph-hhqf, CGA-v3ff-2hqp-f5j5, CGA-v3wp-hww8-v58p, CGA-v457-6w97-vc67, CGA-v537-xffq-xmhf, CGA-v6ch-j84v-49hm, CGA-v6gc-cggm-jjj4, CGA-v728-378r-994q, CGA-v8hx-x5qc-397p, CGA-v8r4-7p6c-6xfr, CGA-vfx4-3682-c8qc, CGA-vmmj-gxhv-gh85, CGA-vmxm-pmg3-hw95, CGA-vpmj-9mh2-jcrg, CGA-vpqj-gcx8-83p8, CGA-vrfh-qf47-jhvm, CGA-vv2c-x7f7-74qv, CGA-vxg5-rc36-423f, CGA-w288-q9vj-3hcr, CGA-w39x-g928-9f42, CGA-w5gh-f28h-f99f, CGA-w5wj-pf6f-gcc2, CGA-w6c3-qmv7-p3c2, CGA-w797-2qpv-545w, CGA-w9q8-gwjw-4jgw, CGA-w9xv-xghr-hmfc, CGA-wc29-r25r-2vw6, CGA-wgr5-w6c2-hv9w, CGA-wgrv-wfh8-px58, CGA-whg8-89c6-wg63, CGA-whqc-8c72-mpr4, CGA-wjcv-hp7h-x2rw, CGA-wq79-6qg4-mgfx, CGA-wqq2-3vm7-46ww, CGA-wrg3-7xmm-cx93, CGA-ww5v-jpwf-5p77, CGA-x3m7-h952-ww7p, CGA-x5w5-959r-3pw8, CGA-x76h-j6w8-74m8, CGA-xgmq-22r8-26rw, CGA-xgr3-xc75-cm7g, CGA-xhmf-4w9p-g2rj, CGA-xj8q-27vf-7wh4, CGA-xm3g-24h8-j36g, CGA-47g7-8xx3-hwv7, CGA-j98c-vjm4-228j, CGA-ph35-q554-3q5v, CGA-wmg4-8mpq-jfvv
- Record: https://cvemate.com/vulnerability/CVE-2026-102277 · JSON: https://cvemate.com/vulnerability/CVE-2026-102277/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.437%, percentile 39.738%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 130)

- chainguard actions-runner (Chainguard): \< 2.337.0-r2
- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-core-2 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.12 (Chainguard): \< 3.12.12.1-r3
- chainguard authentik-2025.12 (Chainguard): \< 2025.12.6-r16
- chainguard authentik-2026.5 (Chainguard): \< 2026.5.7-r8
- chainguard authentik-fips-2025.12 (Chainguard): \< 2025.12.6-r16
- chainguard authentik-fips-2026.5 (Chainguard): \< 2026.5.7-r10
- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): \< 19.1.7-r3
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): \< 19.4.1-r1
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): \< 19.4.1-r1
- chainguard commitizen (Chainguard): \< 4.3.2-r1
- chainguard dotstatsuite-supercore (Chainguard): \< 3.1.0\_git20261001-r1
- chainguard foxx-cli (Chainguard): \< 2.1.1-r12
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-q2hr-2g5m-vwhr>
- <https://github.com/juliangruber/brace-expansion/commit/33a5ef17b8d800bbfa8c52b14c39043b6aac1a96>
- <https://github.com/juliangruber/brace-expansion/commit/bdff773f98e5988616b7039cc9b508df5d640b22>
- <https://github.com/juliangruber/brace-expansion/commit/c55e67d8d8b1c56a2474afff15c2891166b2d364>
- <https://github.com/juliangruber/brace-expansion/commit/ffdfa3e3806bed17c0874b8f1439b084de354a7e>
- <https://ubuntu.com/security/CVE-2026-102277>
- <https://www.cve.org/CVERecord?id=CVE-2026-102277>
- <https://security-tracker.debian.org/tracker/CVE-2026-102277>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102277.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102277>
- <https://github.com/juliangruber/brace-expansion>

---

Data as of 2026-12-05T07:00:47.103Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
