cve.bz

CVE-2026-102277 juliangruber brace-expansion: Uncontrolled Resource Consumption

5.3 mediumEPSS 0.4%Fix available

Medium (5.3) in juliangruber brace-expansion. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in brace-expansion 1.1.21, 2.1.7, 3.0.9.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-102277 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102277?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102277?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102277 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
juliangruber brace-expansion>= 4.0.0, < 5.0.12
juliangruber brace-expansion>= 3.0.0, < 3.0.9
juliangruber brace-expansion>= 2.0.0, < 2.1.7
juliangruber brace-expansion< 1.1.21

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q2hr-2g5m-vwhrnpmbrace-expansion>=4.0.0 <5.0.125.0.12
GHSA-q2hr-2g5m-vwhrnpmbrace-expansion>=3.0.0 <3.0.93.0.9
GHSA-q2hr-2g5m-vwhrnpmbrace-expansion>=2.0.0 <2.1.72.1.7
GHSA-q2hr-2g5m-vwhrnpmbrace-expansion<1.1.211.1.21

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-brace-expansionno fix listedDEBIAN-CVE-2026-102277
Debian14node-brace-expansion2.1.7+~1.1.2-1DEBIAN-CVE-2026-102277
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morenode-brace-expansionno fix listedUBUNTU-CVE-2026-102277
openSUSELeap 16.0pi-coding-agent1.0.4-bp160.1.1openSUSE-SU-2026:22111-1
openSUSETumbleweedagama-web-ui25+475.275dd4727-56.1openSUSE-SU-2026:12424-1
openSUSETumbleweedpi-coding-agent1.0.0-1.1openSUSE-SU-2026:11967-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.22.1-1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux8nodejs-nodemon3.1.14-2.module_el8.10.0+4250+09238ed4ALSA-2026:92376
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:92376
AlmaLinux8npm1:11.19.1-1.24.22.1.1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.22.1.1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.22.1-3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux9nodejs-nodemon3.1.14-3.module_el9.8.0+292+f4eaf8b2ALSA-2026:92378
AlmaLinux9nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:92378
AlmaLinux9npm1:11.19.1-1.24.22.1.3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux9v8-13.6-devel3:13.6.233.17-1.24.22.1.3.module_el9.8.0+333+788f3075ALSA-2026:92378
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40277+b1b3f89eRLSA-2026:92376
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40278+50b003a3RLSA-2026:92376
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:92376
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:92376
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:92376
Rocky Linux9nodejs1:24.22.1-3.module+el9.8.0+40401+e24b8c95RLSA-2026:92378
Rocky Linux9nodejs-nodemon0:3.1.14-3.module+el9.8.0+40281+14cc6568RLSA-2026:92378
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:92378
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:92378
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:92378
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:92378
Azure Linux3js-jqueryno fix listedAZL-105072
Azure Linux3nodejs-nodemonno fix listedAZL-105089
Azure Linux3python-tensorboardno fix listedAZL-105251

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate-impact denial of service vulnerability was found in brace-expansion, an npm package bundled as a dependency in a large number of Red Hat products that ship Node.js-based components. When an application passes attacker-controlled input to the expand function, a remote unauthenticated attacker can supply a crafted `{a},b}`-shaped pattern containing many trailing closing braces. The parser rewrites the string and restarts its scan once for each trailing closing brace, and every pass rescans the entire input, resulting in quadratic CPU time and memory consumption. This can block the Node.js event loop of the affected process and temporarily disrupt application availability; the process recovers once the expansion completes, making this a recoverable CPU denial of service with no impact on confidentiality or integrity. The large majority of Red Hat product streams that ship a bundled copy of brace-expansion are affected; a small number of shipped components are marked not affected because the vulnerable code is not present in the shipped version or because those components do not include brace-expansion. For most affected streams the fix is deferred to a routine future component update, since the flaw is a recoverable, availability-only denial of service of low severity; the residual risk of deferral is temporary CPU and memory pressure and event-loop blocking when an attacker is able to supply crafted brace patterns to an affected application's expansion call. For streams where remediation is delegated, the maintainers of the bundled component are pursuing a fix, and a small number of streams have already shipped an update that remediates the issue. The Red Hat severity of MODERATE (CVSS 3.1 score 5.3, vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) is consistent with the upstream assessment, so there is no meaningful difference from upstream severity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Updating the bundled brace-expansion dependency to a version that contains the upstream fix (1.1.21, 2.1.7, 3.0.9, or 5.0.12, depending on the major version in use) resolves the issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:24-8100020261027151919.6d880403Fixed 2026-10-29RHSA-2026:92376
Red Hat Enterprise Linux 9nodejs:24-9080020261027142403.rhel9Fixed 2026-10-29RHSA-2026:92378
Red Hat Hardened Imagesnodejs22-main-10.9.9-1.22.23.3.2.3.2.2.hum1Fixed 2026-09-30RHSA-2026:74161
Red Hat Hardened Imagesnodejs22-main-22.23.3-2.3.2.2.hum1Fixed 2026-09-30RHSA-2026:74161
Red Hat Hardened Imagesnodejs24-main-11.19.0-1.24.21.0.1.2.hum1Fixed 2026-09-30RHSA-2026:74167
Red Hat Hardened Imagesnodejs24-main-24.21.0-1.2.hum1Fixed 2026-09-30RHSA-2026:74167
Red Hat Hardened Imagesnodejs26-main-11.19.1-1.26.10.0.0.3.hum1Fixed 2026-09-30RHSA-2026:74168
Red Hat Hardened Imagesnodejs26-main-26.10.0-0.3.hum1Fixed 2026-09-30RHSA-2026:74168
Cost Management On Premisecostmanagement/costmanagement-ui-rhel10Fix deferred
Cryostat 4cryostat/cryostat-openshift-console-plugin-rhel9Fix deferred
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-nodejs-external-provider-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-ui-rhel9Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Fix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Fix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleFix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorFix deferred
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-console-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Not affected
193 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-102277.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON