# CVE-2026-2229: undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid server_max_window_bits Validation

- Severity: High 7.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-02)
- Published: 2026-03-12T20:27:05.600Z
- Modified: 2026-09-14T12:04:29.461Z
- Also known as: GHSA-v9p9-hfj2-hcw8
- Weaknesses: CWE-248, CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## 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.

The vulnerability exists because:

  *  The isValidClientWindowBits() function only validates that the value contains ASCII digits, not that it falls within the valid range 8-15
  *  The createInflateRaw() call is not wrapped in a try-catch block
  *  The resulting exception propagates up through the call stack and crashes the Node.js process

(As written by CVE List.)

## Affected

- undici: < 6.24.0; 7.0.0 < 7.24.0 (not affected: 6.24.0: 7.24.0)
- cryostat/cryostat-openshift-console-plugin-rhel9: no versions given (not affected: from 4.2.0-9 before *)
- cryostat/cryostat-rhel9: no versions given (not affected: from 4.2.0-9 before *)
- nodejs22: no versions given (not affected: from 1:22.22.2-1.el10_1 before *; from 1:22.22.2-2.el10_0 before *)
- nodejs24: no versions given (not affected: from 1:24.14.1-2.el10_1 before *)
- nodejs:22: no versions given (not affected: from 8100020260331102257.6d880403 before *; from 9070020260401095228.rhel9 before *; from 9060020260409121057.rhel9 before *)
- nodejs:24: no versions given (not affected: from 8100020260408131901.6d880403 before *; from 9070020260402152654.rhel9 before *)
- cluster-observability-operator/logging-console-plugin-pf4-rhel9: no versions given (not affected: from 1782839279 before *)
- cluster-observability-operator/logging-console-plugin-pf5-rhel9: no versions given (not affected: from 1782840539 before *)
- cluster-observability-operator/troubleshooting-panel-console-plugin-pf6-rhel9: no versions given (not affected: from 1782839996 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1776784286 before *; from 1777903262 before *)
- rhoai/odh-dashboard-rhel8: no versions given (not affected: from 1774282136 before *)
- odf4/cephcsi-rhel9: no versions given (not affected: from 1786705347 before *)
- odf4/cephcsi-rhel9-operator: no versions given (not affected: from 1786706101 before *)
- odf4/mcg-core-rhel9: no versions given (not affected: from 1786705558 before *)
- odf4/mcg-rhel9-operator: no versions given (not affected: from 1786705646 before *)
- odf4/ocs-client-console-rhel9: no versions given (not affected: from 1786706138 before *)
- odf4/ocs-client-rhel9-operator: no versions given (not affected: from 1786705741 before *)
- odf4/ocs-metrics-exporter-rhel9: no versions given (not affected: from 1786705777 before *)
- odf4/ocs-rhel9-operator: no versions given (not affected: from 1786705802 before *)
- odf4/odf-cli-rhel9: no versions given (not affected: from 1786705938 before *)
- odf4/odf-console-rhel9: no versions given (not affected: from 1786706577 before *)
- odf4/odf-cosi-sidecar-rhel9: no versions given (not affected: from 1786706125 before *)
- odf4/odf-csi-addons-rhel9-operator: no versions given (not affected: from 1786706177 before *)
- odf4/odf-csi-addons-sidecar-rhel9: no versions given (not affected: from 1786706188 before *)
- odf4/odf-multicluster-console-rhel9: no versions given (not affected: from 1786706679 before *)
- odf4/odf-multicluster-rhel9-operator: no versions given (not affected: from 1786706357 before *)
- odf4/odf-must-gather-rhel9: no versions given (not affected: from 1786706612 before *)
- odf4/odf-rhel9-operator: no versions given (not affected: from 1786706644 before *)
- odf4/odr-rhel9-operator: no versions given (not affected: from 1786706659 before *)
- odf4/rook-ceph-rhel9-operator: no versions given (not affected: from 1786706880 before *)
- devspaces/code-rhel9: no versions given (not affected: from 1779814592 before *)
- openshift-pipelines/pipelines-console-plugin-rhel9: no versions given (not affected: from 1779910201 before *)
- openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9: no versions given
- openshift-lightspeed/lightspeed-console-plugin-rhel9: no versions given
- openshift-pipelines/pipelines-console-plugin-rhel8: no versions given
- rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor: no versions given
- org.keycloak-keycloak-parent: no versions given
- rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9: no versions given
- rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9: no versions given
- rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9: no versions given
- rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9: no versions given
- rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9: no versions given
- rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9: no versions given
- rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9: no versions given
- rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9: no versions given
- devspaces/code-sshd-rhel9: no versions given
- devspaces/openvsx-rhel9: no versions given
- ansible-automation-platform/automation-portal: no versions given
- undici (npm): before 6.24.0; from 7.0.0 before 7.24.0
- and 1 more: see the JSON

## Every score

- openjs: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8> (vendor-advisory, web)
- <https://hackerone.com/reports/3487486> (permissions-required, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://datatracker.ietf.org/doc/html/rfc7692> (technical-description, web)
- <https://nodejs.org/api/zlib.html#class-zlibinflateraw> (technical-description, web)
- <https://access.redhat.com/security/cve/CVE-2026-2229> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2447143> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2229.json>
- <https://access.redhat.com/errata/RHSA-2026:17789> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7310> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7080> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7675> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7123> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7670> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7983> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7302> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7350> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34342> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9742> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13826> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:5807> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21772> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21931> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56431> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-2229> (advisory)
- <https://github.com/nodejs/undici> (package)

## Sources

- CVE List: [CVE-2026-2229](https://www.cve.org/CVERecord?id=CVE-2026-2229), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-v9p9-hfj2-hcw8](https://github.com/advisories/GHSA-v9p9-hfj2-hcw8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-2229](https://nvd.nist.gov/vuln/detail/CVE-2026-2229), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-2229 · Whole record: https://cve.day/CVE-2026-2229.json · Rebuilt by cve.day 2026-11-25T22:59:15.858Z
