CVE catalog

CVE-2026-112085

UBUNTU-CVE-2026-112085

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Ubuntunode-webpack18.043.5.6-1build3vulnerable
Ubuntunode-webpack18.043.5.6-1build4vulnerable
Ubuntunode-webpack18.043.5.6-2vulnerable
Ubuntunode-webpack20.044.7.0-3vulnerable
Ubuntunode-webpack20.044.30.0-7vulnerable
Ubuntunode-webpack20.044.30.0-9vulnerable
Ubuntunode-webpack22.044.43.0-6build4vulnerable
Ubuntunode-webpack22.044.43.0-7vulnerable
Ubuntunode-webpack24.045.76.1+dfsg1+~cs17.16.16-1vulnerable
Ubuntunode-webpack26.105.105.4+dfsg1+~cs15.13.23-2vulnerable
Ubuntunode-webpack26.105.108.0+dfsg1+~cs14.7.20-2vulnerable
Ubuntunode-webpack26.045.97.1+dfsg1+~cs11.18.27-3vulnerable
Ubuntunode-webpack26.045.97.1+dfsg1+~cs11.18.27-4vulnerable
Ubuntunode-webpack26.045.105.4+dfsg1+~cs15.13.23-2vulnerable

Fixed-version evidence

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References