Origin validation error in webpack-dev-server - CVE-2026-9595
Published: June 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an origin validation error in the HMR WebSocket handling when processing WebSocket connections through a user-configured proxy with a broad context and WebSocket forwarding enabled. A remote attacker can cause the dev server's HMR WebSocket to be intercepted and forwarded to the proxy target to cause a denial of service.
The issue can leak the browser's cookies and Origin header to the backend and bypass the dev server's Host and Origin validation.
Affected software
Red Hat OpenShift Container Platform
How to mitigate CVE-2026-9595
Red Hat OpenShift Container Platform - addressed in versions 4.20.29, 4.21.24, 4.22.4