cve.bz

CVE-2026-9595 webpack.js webpack-dev-server: Origin Validation Error

4.3 mediumEPSS 0.2%Fix available

Medium (4.3) in webpack.js webpack-dev-server. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in webpack-dev-server 5.2.5.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-346 Origin Validation Error
CWE-441 Unintended Proxy or Intermediary (Confused Deputy)
OWASP Top 10
A01:2025 Broken Access Control, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-9595 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-9595?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-9595?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-9595 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
webpack-dev-serverbefore 5.2.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mx8g-39q3-5c79npmwebpack-dev-server<5.2.55.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSnode-webpackno fix listedUBUNTU-CVE-2026-9595
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morevue.js, node-webpackno fix listedUBUNTU-CVE-2026-9595
Red Hatenterprise_linux:10.2rh-podman-desktop0:1.1.2-1.el10_2RHSA-2026:57590

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as having an Important impact because improper handling of broad proxy routes allows sensitive browser data, including session tokens and origin metadata, to be exfiltrated to backend targets while circumventing server origin checks. In Red Hat environments, webpack-dev-server is primarily utilized in development workflows, frontend build pipelines, and containerized development tooling rather than production service delivery. However, when local or containerized development servers are configured with overly permissive proxy rules, remote attackers can compromise session integrity and trigger denial-of-service conditions during development sessions.

Red Hat's mitigation

To mitigate this issue, users should avoid configuring `webpack-dev-server` with a broad proxy context (e.g., `/`) when WebSocket forwarding (`ws: true`) is enabled. Instead, define specific paths for the proxy context. Alternatively, disable WebSocket forwarding by omitting `ws: true` from the proxy entry if WebSocket functionality is not required for the proxy target. This configuration change may require restarting the `webpack-dev-server` instance to take effect.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7.13.6webpack-dev-serverFixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1webpack-dev-serverFixed 2026-09-10RHSA-2026:66488
Red Hat Data Grid 8.6.2webpack-dev-serverFixed 2026-07-20RHSA-2026:41951
Red Hat Enterprise Linux 10rh-podman-desktop-0:1.1.2-1.el10_2Fixed 2026-08-20RHSA-2026:57590
Red Hat Ansible Automation Platform 2.1ansible-automation-platform/automation-portal:1787047114Fixed 2026-08-18RHSA-2026:56338
Red Hat Ansible Automation Platform 2.2ansible-automation-platform/automation-portal:1787047188Fixed 2026-08-18RHSA-2026:56357
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/lightspeed-rhel8:1785430174Fixed 2026-08-04RHSA-2026:50357
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-rhel9:1785775360Fixed 2026-08-04RHSA-2026:50479
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/gateway-rhel9:1787219751Fixed 2026-08-24RHSA-2026:59155
Red Hat Ansible Automation Platform 2.7ansible-automation-platform-27/gateway-rhel9:1787218409Fixed 2026-08-24RHSA-2026:59153
Cryostat 4cryostat-openshift-console-plugin-npmNot affected
Cryostat 4webpack-dev-serverNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-pf5-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Affected
47 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-9595.

Attack patterns (CAPEC)

  • CAPEC-219 XML Routing Detour Attacks Likelihood: High · Severity: Medium
  • CAPEC-465 Transparent Proxy Abuse Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-346 (16).

References

Check your stackJSON