Read the docs
TI-2025-05315 Aliases CVE-2025-5889GHSA-v6h2-p8h4-qcjw

juliangruber brace-expansion index.js expand redos

Priority MEDIUM 45CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 8 fixed, 26 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00611 49th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Partial brace-expansion (juliangruber): 1.1.12, 2.0.2, 3.0.1 +1brace-expansion (npm): 2.0.2, 1.1.12, 3.0.1 +1Red Hat: 8 advisoriesRed Hat: 8 fixed, 26 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
juliangruberbrace-expansion1.1.0; 1.1.1; 1.1.2; 1.1.3; 1.1.4; 1.1.5; 1.1.6; 1.1.7; 1.1.8; 1.1.9; 1.1.10; 1.1.11; 2.0.0; 2.0.1; 3.0; 4.01.1.12, 2.0.2, 3.0.1, 4.0.1Patch availableCNA
—brace-expansion (npm)2.0.0 to before 2.0.22.0.2Patch availableGHSA-v6h2-p8h4-qcjw
—brace-expansion (npm)1.0.0 to before 1.1.121.1.12Patch availableGHSA-v6h2-p8h4-qcjw
—brace-expansion (npm)3.0.0 to before 3.0.13.0.1Patch availableGHSA-v6h2-p8h4-qcjw
—brace-expansion (npm)4.0.0 to before 4.0.14.0.1Patch availableGHSA-v6h2-p8h4-qcjw
  • brace-expansion Vendorjuliangruber Affected 1.1.0; 1.1.1; 1.1.2; 1.1.3; 1.1.4; 1.1.5; 1.1.6; 1.1.7; 1.1.8; 1.1.9; 1.1.10; 1.1.11; 2.0.0; 2.0.1; 3.0; 4.0 Fixed in 1.1.12, 2.0.2, 3.0.1, 4.0.1 Patch available CNA
  • brace-expansion (npm) Vendor— Affected 2.0.0 to before 2.0.2 Fixed in 2.0.2 Patch available GHSA-v6h2-p8h4-qcjw
  • brace-expansion (npm) Vendor— Affected 1.0.0 to before 1.1.12 Fixed in 1.1.12 Patch available GHSA-v6h2-p8h4-qcjw
  • brace-expansion (npm) Vendor— Affected 3.0.0 to before 3.0.1 Fixed in 3.0.1 Patch available GHSA-v6h2-p8h4-qcjw
  • brace-expansion (npm) Vendor— Affected 4.0.0 to before 4.0.1 Fixed in 4.0.1 Patch available GHSA-v6h2-p8h4-qcjw

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:juliangruber:brace-expansion:*:*:*:*:*:*:*:*——juliangruber
  • cpe:2.3:a:juliangruber:brace-expansion:*:*:*:*:*:*:*:* Versions — — ·juliangruber

Remediation

  • Fix · CNA brace-expansion (juliangruber) Fixed in 1.1.12, 2.0.2, 3.0.1, 4.0.1
  • Fix · GHSA-v6h2-p8h4-qcjw brace-expansion (npm) Fixed in 2.0.2 Advisory →
  • Fix · GHSA-v6h2-p8h4-qcjw brace-expansion (npm) Fixed in 1.1.12 Advisory →
  • Fix · GHSA-v6h2-p8h4-qcjw brace-expansion (npm) Fixed in 3.0.1 Advisory →
  • Fix · GHSA-v6h2-p8h4-qcjw brace-expansion (npm) Fixed in 4.0.1 Advisory →

Red Hat 8 advisories

  • RHSA-2026:33154 Released 2026-06-29 · Red Hat rating Important
    Red Hat Ceph Storage
    • Red Hat Ceph Storage 7.1 registry.redhat.io/rhceph/grafana-rhel9, registry.redhat.io/rhceph/rhceph-7-rhel9
  • RHSA-2025:22420 Released 2025-12-01 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.14 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.14 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/mcg-cli-rhel9, registry.redhat.io/odf4/mcg-core-rhel9 +15
  • RHSA-2025:22418 Released 2025-12-01 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.15 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.15 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/mcg-core-rhel9, registry.redhat.io/odf4/mcg-rhel9-operator +15
Show 5 more Red Hat advisories
  • RHSA-2025:22416 Released 2025-12-01 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.16 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.16 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/mcg-core-rhel9, registry.redhat.io/odf4/mcg-rhel9-operator +15
  • RHSA-2025:22415 Released 2025-12-01 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.17 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.17 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +16
  • RHSA-2025:21704 Released 2025-11-18 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.20 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.20 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +19
  • RHSA-2025:21378 Released 2025-11-13 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.19 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.19 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +17
  • RHSA-2025:21368 Released 2025-11-13 · Red Hat rating Moderate
    Red Hat OpenShift Data Foundation 4.18 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.18 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +16

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Cryostat 4AffectedNo fix yet: Fix deferred
Red Hat AMQ Broker 7AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 4AffectedNo fix planned: Out of support scope
Red Hat Ceph Storage 5AffectedNo fix planned: Out of support scope
Red Hat Ceph Storage 6AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 7AffectedNo fix yet
Red Hat Ceph Storage 8AffectedNo fix yet
Red Hat Data Grid 8AffectedNo fix yet: Fix deferred
Red Hat Directory Server 11AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Red Hat Integration Camel K 1AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 7AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix yet: Fix deferred
Red Hat Process Automation 7AffectedNo fix yet: Fix deferred
Red Hat Quay 3AffectedNo fix yet: Fix deferred
Red Hat Single Sign-On 7AffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel - HawtIO 4AffectedNo fix yet: Fix deferred
Red Hat build of Apicurio Registry 2AffectedNo fix yet: Fix deferred
Red Hat build of OptaPlanner 8AffectedNo fix yet: Fix deferred
streams for Apache Kafka 2AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 7.1Fixed RHSA-2026:33154
Red Hat Openshift Data Foundation 4.14Fixed RHSA-2025:22420
Red Hat Openshift Data Foundation 4.15Fixed RHSA-2025:22418
Red Hat Openshift Data Foundation 4.16Fixed RHSA-2025:22416
Red Hat Openshift Data Foundation 4.17Fixed RHSA-2025:22415
Red Hat Openshift Data Foundation 4.18Fixed RHSA-2025:21368
Red Hat Openshift Data Foundation 4.19Fixed RHSA-2025:21378
Red Hat Openshift Data Foundation 4.20Fixed RHSA-2025:21704
Not affected: 8 products
  • Red Hat Ceph Storage 7.1
  • Red Hat Openshift Data Foundation 4.14
  • Red Hat Openshift Data Foundation 4.15
  • Red Hat Openshift Data Foundation 4.16
  • Red Hat Openshift Data Foundation 4.17
  • Red Hat Openshift Data Foundation 4.18
  • Red Hat Openshift Data Foundation 4.19
  • Red Hat Openshift Data Foundation 4.20

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-5889
  2. 2026-10-03 Alias added: GHSA-v6h2-p8h4-qcjw
  3. 2026-10-09 Affected versions changed · Red Hat

References

  • TI-2026-48532 brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation CVSS 3.1HIGH 7.5
  • TI-2021-17956 Insecure random number generation CVSS 3.1CRITICAL 9.1
  • TI-2026-12072 brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash CVSS 3.1HIGH 7.5
  • TI-2026-11166 Uncontrolled resource consumption in juliangruber brace-expansion CVSS 4.0HIGH 7.7
  • TI-2026-65313 brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion CVSS 3.1HIGH 7.5
  • TI-2026-65311 brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion CVSS 3.1HIGH 7.5
See all 9 →

Sources