# CVE-2026-69152: brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation

> Attackers can cause denial of service by exhausting memory or blocking the event loop via unbounded intermediate arrays in the brace-expansion library.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Aug 2026
- **Updated:** 3 Aug 2026
- **Also known as:** ALSA-2026:52841, AZL-94526, AZL-94532, CLEANSTART-2026-AE26966, CLEANSTART-2026-MD19790, CLEANSTART-2026-TE21227, CLEANSTART-2026-ZM83818, CLSA-2026-1791201412, CLSA-2026-1791201416, ECHO-3347-de35-61e4, GHSA-rgw5-rvv9-x895, MINI-22wr-46fj-3rjw, MINI-2f8p-97jw-8qp6, MINI-2gvv-r8hf-cvwv, MINI-2j6c-77jf-g93v, MINI-35xw-vqx7-jwq8, MINI-38cp-ww58-5v8x, MINI-3cq2-5xcr-3rp4, MINI-3mr6-xwm8-vmmf, MINI-432c-4qg8-6wr3, MINI-4h6c-g5rq-qwp9, MINI-5q54-g7rh-gwhr, MINI-645p-q7vw-6p2g, MINI-72gh-vqvf-5ch6, MINI-785m-h6mw-543v, MINI-868j-5vjx-qmcr, MINI-86mc-vv77-v6f2, MINI-8g69-pqhm-fxqr, MINI-93vr-76jg-fq3m, MINI-99f7-2vqf-3xwg, MINI-9v7m-p4c9-mwvw, MINI-c9fx-x44f-758q, MINI-cf65-x8jj-4pw9, MINI-cfrh-3c6w-77w6, MINI-f7qv-v2jx-gv8q, MINI-g496-7g5h-q4c4, MINI-gfv7-jrj7-w2cm, MINI-h42w-vgvx-q286, MINI-h4qv-fjcm-5mqx, MINI-h9q5-j3r5-vvf9, MINI-mrx9-vwxh-7j86, MINI-mxx6-73w2-pfvr, MINI-pf3j-xrvw-qhf8, MINI-pf5h-vhqg-wmp5, MINI-pfq2-hww9-c7q5, MINI-pqfm-62g4-fjpp, MINI-pqpr-qp8w-w7mq, MINI-qhrx-jf5r-54p8, MINI-qj95-f445-34ww, MINI-qq88-3q34-jm7v, MINI-v4fm-4vcj-cqh6, MINI-vp2j-q5fp-cppc, MINI-vqv3-fr3v-2xmg, MINI-wcqh-vv8h-vq54, MINI-wvhj-7g84-2hvw, MINI-wvxj-xxhp-hm29, MINI-wx3p-fc97-7ph7, MINI-xjj3-ggr4-2p6q, MINI-xrrp-9x3q-836p, RHSA-2026:52841, RHSA-2026:61374, RLSA-2026:52841, ROOT-APP-NPM-CVE-2026-69152, UBUNTU-CVE-2026-69152

## What is CVE-2026-69152?

CVE-2026-69152 is a high-severity denial of service vulnerability in juliangruber brace-expansion, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.18, 2.1.4, 3.0.6, and 5.0.9, expand() does not apply maxLength while constructing comma-alternative intermediate arrays or padded sequences, allowing attacker-controlled input to exhaust memory or block the event loop. The fix for CVE-2026-14257 is bypassed by the vulnerability. This issue is fixed in versions 1.1.18, 2.1.4, 3.0.6, and 5.0.9.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling), CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2026-69152?

8 open source packages ship an affected version, including brace-expansion. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `brace-expansion` | npm | All versions | 1.1.18 |
| `brace-expansion` | npm | All versions | 1.1.18 |
| `brace-expansion` | npm | From 2.0.0 | 2.1.4 |
| `brace-expansion` | npm | From 2.0.0 | 2.1.4 |
| `brace-expansion` | npm | From 3.0.0 | 3.0.6 |
| `brace-expansion` | npm | From 3.0.0 | 3.0.6 |
| `brace-expansion` | npm | From 4.0.0 | 5.0.9 |
| `brace-expansion` | npm | From 4.0.0 | 5.0.9 |
| `nodejs-nodemon` | AlmaLinux:10 | All versions | 3.1.14-3.el10_2 |
| `nodejs-nodemon` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.1.14-3.el10_2 |
| `nodejs-nodemon` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.1.14-3.el10_0 |
| `nodejs-nodemon` | Rocky Linux:10 | All versions | 0:3.1.14-3.el10_2 |

Products: Juliangruber Brace-Expansion.

## How do I fix CVE-2026-69152?

Upgrade brace-expansion to a fixed version for your release line: 1.1.18, 2.1.4, 3.0.6 or 5.0.9.

## Is CVE-2026-69152 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-69152 exists.

## Other vulnerabilities in juliangruber brace-expansion

- [CVE-2026-14257](https://insights.sbomify.com/CVE-2026-14257/): brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash (high 7.5)
- [CVE-2026-45149](https://insights.sbomify.com/CVE-2026-45149/): brace-expansion: Large numeric range defeats documented `max` DoS protection (medium 6.5)
- [CVE-2026-33750](https://insights.sbomify.com/CVE-2026-33750/): brace-expansion: Zero-step sequence causes process hang and memory exhaustion (medium 6.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-69152 and fix it if it is affected.

What it is: CVE-2026-69152 is a high-severity denial of service vulnerability in juliangruber brace-expansion, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-69152 exists.

Affected packages and fixed versions:
- brace-expansion (npm): affected all versions; fixed in 1.1.18
- brace-expansion (npm): affected all versions; fixed in 1.1.18
- brace-expansion (npm): affected from 2.0.0; fixed in 2.1.4
- brace-expansion (npm): affected from 2.0.0; fixed in 2.1.4
- brace-expansion (npm): affected from 3.0.0; fixed in 3.0.6
- brace-expansion (npm): affected from 3.0.0; fixed in 3.0.6
- brace-expansion (npm): affected from 4.0.0; fixed in 5.0.9
- brace-expansion (npm): affected from 4.0.0; fixed in 5.0.9

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-69152/ (Markdown: https://insights.sbomify.com/CVE-2026-69152/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-69152
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-69152
- OSV: https://osv.dev/vulnerability/CVE-2026-69152

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-69152/
Summaries are generated and may contain mistakes; the official description above is the record.
