cve.bz

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

7.7 highEPSS 0.4%Fix available

High (7.7) in juliangruber brace-expansion. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in brace-expansion 1.1.16, 2.1.2, 5.0.7.

On this page
brace-expansion through 5.0.6 is vulnerable to denial of service. The expand() function exhibits exponential-time complexity in the number of consecutive non-expanding '{}' brace groups. An attacker who passes a crafted string to expand(), directly or transitively, can cause significant CPU consumption and event-loop blocking. The max option does not mitigate this, as it bounds the output size rather than the recursion work.

Severity

CVSS 4.0

7.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/S:N/AU:Y/R:U/V:D/RE:M/U:Amber
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st 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-06-30. 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-13149 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-13149?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-13149?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-13149 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-expansionthrough 5.0.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3jxr-9vmj-r5cpnpmbrace-expansion>=3.0.0 <5.0.75.0.7
GHSA-3jxr-9vmj-r5cpnpmbrace-expansion<1.1.161.1.16
GHSA-3jxr-9vmj-r5cpnpmbrace-expansion>=2.0.0 <2.1.22.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-brace-expansionno fix listedDEBIAN-CVE-2026-13149
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-brace-expansionno fix listedUBUNTU-CVE-2026-13149
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.1-2.module+el8.10.0+24556+e9352af2RHSA-2026:47059
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.18.0-2.module+el8.10.0+24562+090c6525RHSA-2026:47060
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.1.14-1.module+el8.10.0+24556+e9352af2RHSA-2026:47059
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.1.14-1.module+el8.10.0+24562+090c6525RHSA-2026:47060
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24500+8eb51621RHSA-2026:47059
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24562+090c6525RHSA-2026:47060
Red Hatenterprise_linux:8::appstreamnpm1:10.9.8-1.22.23.1.2.module+el8.10.0+24556+e9352af2RHSA-2026:47059
Red Hatenterprise_linux:8::appstreamnpm1:11.16.0-1.24.18.0.2.module+el8.10.0+24562+090c6525RHSA-2026:47060
Red Hatenterprise_linux:8::appstreamv8-12.4-devel3:12.4.254.21-1.22.23.1.2.module+el8.10.0+24556+e9352af2RHSA-2026:47059
Red Hatenterprise_linux:8::appstreamv8-13.6-devel3:13.6.233.17-1.24.18.0.2.module+el8.10.0+24562+090c6525RHSA-2026:47060
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.1-2.module+el9.8.0+24538+3f176d52RHSA-2026:47058
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.18.0-3.module+el9.8.0+24537+83ec84e1RHSA-2026:47057
36 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Package Hub 15 SP7golang-github-prometheus-prometheus3.5.4-150100.4.37.2SUSE-SU-2026:3714-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Manager Client Tools 15golang-github-prometheus-alertmanager0.28.1-150100.4.34.1SUSE-SU-2026:3714-1
SUSEManager Client Tools 15golang-github-prometheus-prometheus3.5.4-150000.3.75.1SUSE-SU-2026:3714-1
SUSEManager Client Tools 15grafana12.4.5-150000.1.98.1SUSE-SU-2026:3714-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-alertmanager0.28.1-150002.4.14.1SUSE-SU-2026:3713-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.5.4-150002.3.16.1SUSE-SU-2026:3713-1
SUSEMulti Linux Manager Tools SLE-15grafana12.4.5-150002.4.24.1SUSE-SU-2026:3713-1
openSUSELeap 16.0agama-web-ui17+673.b97ba64d6-160000.12.1openSUSE-SU-2026:21448-1
openSUSELeap 16.0python-pytest-html4.1.1-bp160.4.1openSUSE-SU-2026:21312-1
openSUSETumbleweedagama-integration-tests1785848065.5562c7c-4.1openSUSE-SU-2026:11452-1
openSUSETumbleweedagama-web-ui24+0.a836cced5-52.1openSUSE-SU-2026:11680-1
openSUSETumbleweedpython-pytest-html4.2.0-4.1openSUSE-SU-2026:11220-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.1-2.module_el8.10.0+4236+04bc75d9ALSA-2026:47059
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.18.0-2.module_el8.10.0+4237+cde4efc3ALSA-2026:47060
AlmaLinux8nodejs-nodemon3.1.14-1.module_el8.10.0+4236+04bc75d9ALSA-2026:47059
AlmaLinux8nodejs-nodemon3.1.14-1.module_el8.10.0+4237+cde4efc3ALSA-2026:47060
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:47060
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:47059
AlmaLinux8npm1:10.9.8-1.22.23.1.2.module_el8.10.0+4236+04bc75d9ALSA-2026:47059
AlmaLinux8npm1:11.16.0-1.24.18.0.2.module_el8.10.0+4237+cde4efc3ALSA-2026:47060
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.23.1.2.module_el8.10.0+4236+04bc75d9ALSA-2026:47059
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.18.0.2.module_el8.10.0+4237+cde4efc3ALSA-2026:47060
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.1-2.module_el9.8.0+285+5c3b0251ALSA-2026:47058
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.18.0-3.module_el9.8.0+286+9023ffdbALSA-2026:47057
12 more for AlmaLinux in the JSON.
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:47059 RLSA-2026:47060
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:47059 RLSA-2026:47060
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:47059 RLSA-2026:47060
Rocky Linux9nodejs1:22.23.1-2.module+el9.8.0+40263+faa47049RLSA-2026:47058
Rocky Linux9nodejs1:24.18.0-3.module+el9.8.0+40264+d9b257bbRLSA-2026:47057
Rocky Linux9nodejs-nodemon0:3.1.14-1.module+el9.8.0+40263+faa47049RLSA-2026:47058
Rocky Linux9nodejs-nodemon0:3.1.14-2.module+el9.8.0+40264+d9b257bbRLSA-2026:47057
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:47057 RLSA-2026:47058
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:47057 RLSA-2026:47058
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:47057 RLSA-2026:47058
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:47057 RLSA-2026:47058
Rocky Linux10nodejs-nodemon0:3.1.14-2.el10_2RLSA-2026:48032
2 more for Rocky Linux in the JSON.

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

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in brace-expansion, a widely-used npm package for expanding brace sequences. The expand() function exhibits exponential-time complexity when processing consecutive non-expanding brace groups. An attacker who can supply crafted input to expand(), directly or transitively via minimatch or glob, can cause significant CPU consumption and event-loop blocking, resulting in denial of service. The max option does not mitigate this issue, as it bounds the output size rather than the recursion work.

Red Hat's mitigation

There is no practical mitigation for this vulnerability. The brace-expansion package is typically a transitive dependency pulled in via minimatch and glob, making it difficult to isolate. Users should upgrade to a fixed version of brace-expansion when one becomes available.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.2.0-13Fixed 2026-07-29RHSA-2026:48151
Red Hat AMQ Broker 7.13.6brace-expansionFixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1brace-expansionFixed 2026-09-10RHSA-2026:66488
Red Hat Enterprise Linux 10nodejs-nodemon-0:3.1.14-2.el10_2Fixed 2026-07-29RHSA-2026:48032
Red Hat Enterprise Linux 10nodejs22-1:22.23.1-4.el10_2Fixed 2026-07-29RHSA-2026:48033
Red Hat Enterprise Linux 10nodejs24-1:24.18.0-3.el10_2Fixed 2026-07-29RHSA-2026:48034
Red Hat Enterprise Linux 10rh-podman-desktop-0:1.1.2-1.el10_2Fixed 2026-08-20RHSA-2026:57590
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs-nodemon-0:3.1.14-2.el10_0Fixed 2026-08-10RHSA-2026:52394
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs22-1:22.23.1-3.el10_0Fixed 2026-08-11RHSA-2026:53298
Red Hat Enterprise Linux 8nodejs:22-8100020260724100938.6d880403Fixed 2026-07-28RHSA-2026:47059
Confidential Compute Attestationopenshift-sandboxed-containers/osc-pccsWill not fix
Cryostat 4brace-expansionNot affected
Cryostat 4cryostat-openshift-console-plugin-npmNot affected
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-ui-rhel8Not affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Affected
210 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-13149.

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