{"answers":{"affected":"6 open source packages ship an affected version, including brace-expansion.","exploited":"There is no known exploitation of CVE-2026-13149 in the wild and no public exploit code.","fix":"Upgrade brace-expansion to a fixed version for your release line: 1.1.16, 2.1.2 or 5.0.7.","what":"CVE-2026-13149 is a high-severity denial of service vulnerability in juliangruber brace-expansion, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-13149 and fix it if it is affected.\n\nWhat it is: CVE-2026-13149 is a high-severity denial of service vulnerability in juliangruber brace-expansion, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-13149 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- brace-expansion (npm): affected all versions; fixed in 1.1.16\n- brace-expansion (npm): affected all versions; fixed in 1.1.16\n- brace-expansion (npm): affected from 2.0.0; fixed in 2.1.2\n- brace-expansion (npm): affected from 2.0.0; fixed in 2.1.2\n- brace-expansion (npm): affected from 3.0.0; fixed in 5.0.7\n- brace-expansion (npm): affected from 3.0.0; fixed in 5.0.7\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-13149/ (Markdown: https://insights.sbomify.com/CVE-2026-13149/index.md)","id":"CVE-2026-13149","markdown":"https://insights.sbomify.com/CVE-2026-13149/index.md","name":"CVE-2026-13149","record":{"aliases":["ALSA-2026:48032","CLEANSTART-2026-EG71215","CLEANSTART-2026-FO44307","CLEANSTART-2026-SI16873","CLEANSTART-2026-UX64069","CLSA-2026-1784596285","DEBIAN-CVE-2026-13149","ECHO-ae86-415b-ba40","GHSA-3jxr-9vmj-r5cp","MINI-28g9-m4vf-j27v","MINI-29w3-39wj-2pph","MINI-2x57-mf9f-89v4","MINI-349p-xxpp-xp8j","MINI-3mfh-59mq-9xc9","MINI-6996-wxf8-m5mx","MINI-6pfq-8cgc-36xm","MINI-6pj2-2wvh-v6pq","MINI-7fx2-gjq3-57f9","MINI-7m8w-q8mq-5fvg","MINI-83xf-pm9r-vmgm","MINI-83xh-wp47-vxv6","MINI-8f63-43v9-ph48","MINI-8qvp-9gx7-fp2p","MINI-9c43-7v6m-85g7","MINI-9vhh-hpf2-3gfm","MINI-9vv8-9vpq-2wrg","MINI-c332-jrhp-r83f","MINI-cfmr-4wf2-5gxh","MINI-f65v-v6rq-3r2f","MINI-f7vr-qggw-mw6c","MINI-f9f2-233f-xw4x","MINI-g27r-c53v-2c4p","MINI-gh95-cmvc-4h36","MINI-hch6-9x7g-mpmw","MINI-hf74-4qqq-5ph9","MINI-hf7v-x976-8qpq","MINI-j4p8-748v-7qvw","MINI-jch7-wjr2-mpw3","MINI-mjrq-25h6-w7w4","MINI-pv2f-5wqc-9pwv","MINI-r4r6-vg9h-243h","MINI-r9q3-j232-8cg3","MINI-vhvh-8f2f-m966","MINI-vw6j-cg2j-w8r9","MINI-w4r6-4p63-8cg8","MINI-w785-6prw-wph5","MINI-x4p4-3q67-w4qv","MINI-xg63-wqm5-qcw5","MINI-xhr5-f2q7-pgfw","MINI-xj37-pxh5-r8hr","RHSA-2026:48032","RHSA-2026:52394","RLSA-2026:48032","ROOT-APP-NPM-CVE-2026-13149","UBUNTU-CVE-2026-13149","openSUSE-SU-2026:21312-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript brace expansion library","requires_auth":"none","summary":"An attacker can cause denial of service by passing crafted strings to the expand function, leading to excessive CPU consumption and event-loop blocking.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"seal","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"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.","ecosystems":["AlmaLinux:10","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux_eus:10.0","Rocky Linux:10","npm","openSUSE:Leap 16.0"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups","id":"CVE-2026-13149","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":11,"n_references":2,"next":{"headline":"SSRF in Pentestify PDF generation endpoint via Host header","id":"CVE-2026-13150"},"packages":[{"ecosystem":"npm","fixed":["1.1.16"],"introduced":["0"],"last_affected":[],"package":"brace-expansion","purl":null,"source":"GHSA-3jxr-9vmj-r5cp"},{"ecosystem":"npm","fixed":["1.1.16"],"introduced":["0"],"last_affected":[],"package":"brace-expansion","purl":"pkg:npm/brace-expansion","source":"GHSA-3jxr-9vmj-r5cp"},{"ecosystem":"npm","fixed":["2.1.2"],"introduced":["2.0.0"],"last_affected":[],"package":"brace-expansion","purl":null,"source":"GHSA-3jxr-9vmj-r5cp"},{"ecosystem":"npm","fixed":["2.1.2"],"introduced":["2.0.0"],"last_affected":[],"package":"brace-expansion","purl":"pkg:npm/brace-expansion","source":"GHSA-3jxr-9vmj-r5cp"},{"ecosystem":"npm","fixed":["5.0.7"],"introduced":["3.0.0"],"last_affected":[],"package":"brace-expansion","purl":null,"source":"GHSA-3jxr-9vmj-r5cp"},{"ecosystem":"npm","fixed":["5.0.7"],"introduced":["3.0.0"],"last_affected":[],"package":"brace-expansion","purl":"pkg:npm/brace-expansion","source":"GHSA-3jxr-9vmj-r5cp"},{"ecosystem":"AlmaLinux:10","fixed":["3.1.14-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/almalinux/nodejs-nodemon","source":"ALSA-2026:48032"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:3.1.14-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/redhat/nodejs-nodemon","source":"RHSA-2026:48032"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.1.14-2.el10_0"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/redhat/nodejs-nodemon","source":"RHSA-2026:52394"},{"ecosystem":"Rocky Linux:10","fixed":["0:3.1.14-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/rocky-linux/nodejs-nodemon?distro=rocky-linux-10-aarch64\u0026epoch=0","source":"RLSA-2026:48032"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["4.1.1-bp160.4.1"],"introduced":["0"],"last_affected":[],"package":"python-pytest-html","purl":"pkg:rpm/opensuse/python-pytest-html\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21312-1"}],"prev":{"headline":"Memory leak in scan method","id":"CVE-2026-13148"},"products":["brace-expansion"],"published":"2026-06-30","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-08","vendors":["juliangruber"]},"summary":"An attacker can cause denial of service by passing crafted strings to the expand function, leading to excessive CPU consumption and event-loop blocking.","url":"https://insights.sbomify.com/CVE-2026-13149/"}