{"answers":{"affected":"4 open source packages ship an affected version, including undici. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-2229 in the wild and no public exploit code.","fix":"Upgrade undici to a fixed version for your release line: 6.24.0 or 7.24.0.","what":"CVE-2026-2229 is a high-severity denial of service vulnerability in Nodejs Undici, published on 12 Mar 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-2229 and fix it if it is affected.\n\nWhat it is: CVE-2026-2229 is a high-severity denial of service vulnerability in Nodejs Undici, published on 12 Mar 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-2229 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- undici (npm): affected all versions; fixed in 6.24.0\n- undici (npm): affected all versions; fixed in 6.24.0\n- undici (npm): affected from 7.0.0; fixed in 7.24.0\n- undici (npm): affected from 7.0.0; fixed in 7.24.0\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-2229/ (Markdown: https://insights.sbomify.com/CVE-2026-2229/index.md)","id":"CVE-2026-2229","markdown":"https://insights.sbomify.com/CVE-2026-2229/index.md","name":"CVE-2026-2229","record":{"aliases":["BELL-CVE-2026-2229","CLEANSTART-2026-NW80609","CLEANSTART-2026-QF25668","CLSA-2026-1791192281","DEBIAN-CVE-2026-2229","ECHO-f0a7-0b20-68fa","GHSA-v9p9-hfj2-hcw8","MINI-5qf9-2p9g-xmq8","MINI-65xf-r9qr-9mq3","MINI-69fm-wpqw-w69r","MINI-96px-rgv6-ch9f","MINI-ccx2-3gfr-wwvj","MINI-jpgq-4g65-2j5p","MINI-pqj5-9pj5-qvxq","MINI-q66h-8gc6-r4gh","MINI-q8rj-9x4m-mm6v","MINI-x46j-95ch-4wwh","MINI-x867-8hp3-3h4j","ROOT-APP-NPM-CVE-2026-2229","UBUNTU-CVE-2026-2229"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js HTTP client","requires_auth":"none","summary":"A malicious WebSocket server can crash a Node.js application by sending an invalid compression parameter, causing an unhandled exception.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"undici","vendor":"nodejs"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"description":"ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the server_max_window_bits parameter in the permessage-deflate extension. When a WebSocket client connects to a server, it automatically advertises support for permessage-deflate compression. A malicious server can respond with an out-of-range server_max_window_bits value (outside zlib's valid range of 8-15). When the server subsequently sends a compressed frame, the client attempts to create a zlib InflateRaw instance with the invalid windowBits value, causing a synchronous RangeError exception that is not caught, resulting in immediate process termination.\n\nThe vulnerability exists because:\n\n  *  The isValidClientWindowBits() function only validates that the value contains ASCII digits, not that it falls within the valid range 8-15\n  *  The createInflateRaw() call is not wrapped in a try-catch block\n  *  The resulting exception propagates up through the call stack and crashes the Node.js process","ecosystems":["npm"],"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":"undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid server_max_window_bits Validation","id":"CVE-2026-2229","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"nodejs:undici","products":["nodejs:undici"],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":5,"next":{"headline":"Missing authorization in Booking Calendar","id":"CVE-2026-2230"},"packages":[{"ecosystem":"npm","fixed":["6.24.0"],"introduced":["0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-v9p9-hfj2-hcw8"},{"ecosystem":"npm","fixed":["6.24.0"],"introduced":["0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-v9p9-hfj2-hcw8"},{"ecosystem":"npm","fixed":["7.24.0"],"introduced":["7.0.0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-v9p9-hfj2-hcw8"},{"ecosystem":"npm","fixed":["7.24.0"],"introduced":["7.0.0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-v9p9-hfj2-hcw8"}],"prev":{"headline":"D-Link DCS-931L setSystemAdmin doSystem command injection","id":"CVE-2026-2227"},"products":["undici"],"published":"2026-03-12","related":[{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to Denial of Service via failed HTTP/2 handshake","id":"CVE-2026-109855","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via unhandled error on excessive content-encodings","id":"CVE-2026-109869","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation","id":"CVE-2026-87018","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via unrequested WebSocket subprotocol","id":"CVE-2026-19534","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to denial of service via fragment count bypass","id":"CVE-2026-12151","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":7.5,"headline":"undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse","id":"CVE-2026-6734","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to denial of service via cumulative fragment bypass","id":"CVE-2026-9675","kev_date_added":null,"published":"2026-06-17"}],"sources":[{"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":"US public information, NVD API terms","name":"NVD"},{"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-09-14","vendors":["undici"]},"summary":"A malicious WebSocket server can crash a Node.js application by sending an invalid compression parameter, causing an unhandled exception.","url":"https://insights.sbomify.com/CVE-2026-2229/"}