CVE-2026-14257
Vulnerability Summary
Timeline
Description
brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function limits the number of results with a max option (default 100,000) but does not bound the length of each result string. By chaining multiple brace groups, an attacker keeps the result count under the limit while making each result progressively longer, so total memory scales with both count and string length until the process hits a fatal, uncatchable out-of-memory error. About 7.5 KB of input ('{a,b}'.repeat(1500)) crashes a default Node.js process. Any application that passes attacker-influenced strings to brace-expansion.expand() - directly or transitively via minimatch / glob brace patterns - can be crashed by a small request. Fixed in 5.0.8 by adding a maxLength option (default 4,000,000) that bounds accumulated output and intermediate arrays.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.64%• Percentile: 49%
Techniques & Countermeasures
- CWE-400•Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
- CWE-770•Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected Systems
- chainguard•actions-runner
< 2.336.0-r2
- chainguard•airflow-2
all
- chainguard•airflow-core-2
all
- chainguard•arangodb-3.11
< 3.11.14.4-r15 | < 3.11.14.4-r16
- chainguard•arangodb-3.12
< 3.12.9.4-r15
- chainguard•argo-workflows-ui-3.6
all
- chainguard•argo-workflows-ui-3.7
< 3.7.17-r1
- chainguard•argo-workflows-ui-4.0
< 4.0.8-r2 | < 4.0.11-r0
- chainguard•authentik-2025.12
all
- chainguard•authentik-2026.2
< 2026.2.6-r7
- chainguard•authentik-2026.5
< 2026.5.6-r4 | < 2026.5.6-r3
- chainguard•authentik-fips-2025.12
all
- chainguard•authentik-fips-2026.5
< 2026.5.6-r3
- chainguard•azurite
< 3.35.0-r2
- chainguard•bash-language-server
< 5.6.0-r4
- chainguard•commercial-gitlab-rails-ee-19.1
all
- chainguard•commercial-gitlab-rails-ee-19.2
all
- chainguard•commercial-gitlab-rails-ee-19.3
all
- chainguard•commercial-gitlab-rails-ee-fips-19.1
all
- chainguard•commercial-gitlab-rails-ee-fips-19.2
all
- chainguard•commercial-gitlab-rails-ee-fips-19.3
all
- chainguard•foxx-cli
< 2.1.1-r10
- chainguard•gemini-cli
< 0.49.0-r6
- chainguard•gitlab-rails-ce-18.1
all
- chainguard•gitlab-rails-ce-18.10
all
- chainguard•gitlab-rails-ce-18.11
all
- chainguard•gitlab-rails-ce-18.6
all
- chainguard•gitlab-rails-ce-18.7
all
- chainguard•gitlab-rails-ce-18.8
all
- chainguard•gitlab-rails-ce-18.9
all
- chainguard•gitlab-rails-ce-19.0
all
- chainguard•gitlab-rails-ce-19.1
all | < 19.1.7-r6
- chainguard•gitlab-rails-ce-19.2
all | < 19.2.5-r2
- chainguard•gitlab-rails-ce-19.3
< 19.3.1-r6
- chainguard•gitlab-rails-ce-fips-18.1
all
- chainguard•gitlab-rails-ce-fips-18.10
all
- chainguard•gitlab-rails-ce-fips-18.11
< 18.11.8-r1
- chainguard•gitlab-rails-ce-fips-18.6
all
- chainguard•gitlab-rails-ce-fips-18.7
all
- chainguard•gitlab-rails-ce-fips-18.8
all
- chainguard•gitlab-rails-ce-fips-18.9
all
- chainguard•gitlab-rails-ce-fips-19.0
all
- chainguard•gitlab-rails-ce-fips-19.1
all | < 19.1.7-r7
- chainguard•gitlab-rails-ce-fips-19.2
all | < 19.2.5-r2
- chainguard•gitlab-rails-ce-fips-19.3
< 19.3.1-r3
- chainguard•graalvm-25-ce-nodejs
< 25.0.4-r2
- chainguard•jupyter-base-notebook
all
- chainguard•katib-suggestion-hyperopt
< 0.19.0-r40
- chainguard•kibana-8.17
< 8.17.10-r32
- chainguard•kibana-8.17-bitnami
< 8.17.10-r32
Showing first 50 affected entries in server-rendered view.
References (15)
- https://www.npmjs.com/package/brace-expansion
- https://github.com/juliangruber/brace-expansion
- https://github.com/juliangruber/brace-expansion/commit/a1bd33999ea75262c4749fff3bbb0d1372bd07b5
- https://ubuntu.com/security/CVE-2026-14257
- https://www.cve.org/CVERecord?id=CVE-2026-14257
- https://security-tracker.debian.org/tracker/CVE-2026-14257
- https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-mh99-v99m-4gvg
- https://nvd.nist.gov/vuln/detail/CVE-2026-14257
- https://github.com/juliangruber/brace-expansion/pull/129
- https://github.com/juliangruber/brace-expansion/pull/130
- https://github.com/juliangruber/brace-expansion/pull/136
- https://github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d
- https://github.com/juliangruber/brace-expansion/commit/cb4b9e47cc2ec777c14b2b4492fb431a56f6a031
- https://github.com/juliangruber/brace-expansion/commit/d13ff455a58b0d56704f0111e3c2a0b16ceb06eb
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14257.json