CVE-2026-9595 webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies
MediumCVSS 4.3
EPSS 0.16%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Impact: When a user-configured proxy on webpack-dev-server has a broad context (e.g. /) and ws: true, it also intercepts the dev server's own HMR WebSocket and forwards it to the proxy target. This leaks the browser's cookies and Origin header to the backend, bypasses the dev server's Host/Origin validation, and corrupts the HMR socket (both HMR and the proxy end up writing to the same socket).
Patches: Fixed in webpack-dev-server@5.2.5.
Workarounds: Scope user-defined proxy context to specific paths instead of /, or omit ws: true from the proxy entry when WebSocket forwarding is not required.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm webpack-dev-server | < 5.2.5 | 5.2.5 |
| redhat/webpack-dev-server(Red Hat:amq_broker:7.13) | All versions | No fix listed |
| redhat/webpack-dev-server(Red Hat:amq_broker:7.14) | All versions | No fix listed |
| redhat/webpack-dev-server(Red Hat:jboss_data_grid:8.6) | All versions | No fix listed |
| redhat/rh-podman-desktop(Red Hat:enterprise_linux:10.2) | < 1.1.2-1.el10_2 | 1.1.2-1.el10_2 |
| redhat/ansible-automation-platform/automation-portal:1787047114(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1787047188(Red Hat:ansible_portal:2.2) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-rhel8:1785430174(Red Hat:ansible_automation_platform:2.5::el8) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-rhel9:1785775360(Red Hat:ansible_automation_platform:2.6::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/gateway-rhel9:1787219751(Red Hat:ansible_automation_platform:2.6::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/gateway-rhel9:1787218409(Red Hat:ansible_automation_platform:2.7::el9) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1786634825(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/rhmtc/openshift-migration-ui-rhel8:1783690532(Red Hat:rhmt:1.8::el8) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9:1787089523(Red Hat:openshift:4.19::el9) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9:1783602326(Red Hat:openshift:4.20::el9) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9:1783502338(Red Hat:openshift:4.21::el9) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9:1782913621(Red Hat:openshift:4.22::el9) | All versions | No fix listed |
| redhat/openshift4/ose-agent-installer-ui-rhel9:1785910896(Red Hat:openshift:4.22::el9) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-must-gather-rhel9(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-operator-bundle(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-419-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-console-plugin-pf5-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
Show 26 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/openshift-pipelines/pipelines-console-plugin-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-console-plugin-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-eda-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/webpack-dev-server(Red Hat:apache_camel_hawtio:4) | All versions | No fix listed |
| redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/rhcl-1/rhcl-console-plugin-rhel9(Red Hat:connectivity_link:1) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/openshift5/ose-agent-installer-ui-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/openshift5/ose-console-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| npm webpack-dev-server(npm) | < 5.2.5 | 5.2.5 |
| ubuntu/node-webpack(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/vue.js(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-webpack(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/vue.js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-webpack(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/vue.js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-webpack(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/vue.js(Ubuntu:26.10) | All versions | No fix listed |
| webpack.js webpack-dev-server | < 5.2.5 | 5.2.5 |
References
- github.com mitigation vendor-advisory
- cna.openjsf.org vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com issue-tracking patch
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:66545 patch vendor-advisory
- RHSA-2026:66488 patch vendor-advisory
- RHSA-2026:41951 patch vendor-advisory
- RHSA-2026:57590 patch vendor-advisory
- RHSA-2026:56338 patch vendor-advisory
- RHSA-2026:56357 patch vendor-advisory
- RHSA-2026:50357 patch vendor-advisory
- RHSA-2026:50479 patch vendor-advisory
- RHSA-2026:59155 patch vendor-advisory
- RHSA-2026:59153 patch vendor-advisory
- RHSA-2026:54760 patch vendor-advisory
- RHSA-2026:41928 patch vendor-advisory
- RHSA-2026:57408 patch vendor-advisory
- RHSA-2026:37628 patch vendor-advisory
- RHSA-2026:37186 patch vendor-advisory
- RHSA-2026:34794 patch vendor-advisory
- RHSA-2026:51038 patch vendor-advisory
- Red Hat Bugzilla 2488934 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory