CVEfocus › CVE database › CVE-2026-112085

CVE-2026-112085webpack-dev-server vulnerable to cross-origin WebSocket access via proxied upgrades

CVSS 8.2 HighEPSS 0.2% (higher than 3% of CVEs)Published 2026-10-22Updated 2026-10-22Assigner: openjs

webpack-dev-server is a development server that provides live reloading for webpack projects. In versions before 5.2.7 and in version 6.0.0, when a proxy entry is configured to forward WebSockets, the server forwards non-HMR WebSocket upgrade requests to the proxy target without validating the Host or Origin headers, so the allowedHosts protection does not apply to those proxied upgrades. A malicious web page visited by a developer can open a cross-origin WebSocket through the dev server and read from and write to the proxied backend, even when the server is bound to loopback. The issue is fixed in webpack-dev-server 5.2.7 and 6.1.0, where proxied WebSocket upgrades pass the same Host and Origin validation as the HMR WebSocket, and users should upgrade to one of those versions or later. As a workaround, omit WebSocket forwarding from proxy entries that do not need it and scope the proxy to specific paths.

CWE-1385CWE-346

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-webpackFix pendingUBUNTU-CVE-2026-112085
Ubuntu 26.04node-webpackUnder investigationUBUNTU-CVE-2026-112085
Ubuntu 24.04node-webpackUnder investigationUBUNTU-CVE-2026-112085
Ubuntu 22.04node-webpackUnder investigationUBUNTU-CVE-2026-112085
Ubuntu 20.04node-webpackFix pendingUBUNTU-CVE-2026-112085
Ubuntu 18.04node-webpackFix pendingUBUNTU-CVE-2026-112085

What the vendor says

As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.