CVE-2026-14631 Details
Description
webpack-dev-server versions 5.2.5 and earlier terminate the whole Node.js process when an unauthenticated peer sends either a normal HTTP request with a malformed Host header or a WebSocket upgrade to the default /ws endpoint with a malformed Origin header. The malformed value causes an uncaught exception in the host-validation path and crashes the dev server. Impact is limited to availability of the development server, no data disclosure, no code execution. Patches: upgrade to webpack-dev-server 5.2.6. Workarounds: keep the dev server bound to localhost (the default) and do not expose it to untrusted networks.
A denial-of-service vulnerability has been identified in webpack-dev-server versions 5.2.5 and earlier. The issue arises when an unauthenticated peer sends a regular HTTP request with a malformed Host header or a WebSocket upgrade to the default /ws endpoint with a malformed Origin header. These malformed values trigger an uncaught exception during host validation, causing the development server to crash. The vulnerability impacts the availability of the development server, but does not lead to data disclosure or code execution.
Users can upgrade to webpack-dev-server version 5.2.6, which addresses the vulnerability by treating malformed Host and Origin header values as invalid instead of allowing them to cause exceptions. Additionally, keeping the development server bound to localhost and not exposing it to untrusted networks can help mitigate the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Third Party Advisory |
| https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj | openjs | MitigationVendor AdvisoryPatch |
Weakness Enumeration
Affected Products
| Product | Versions |
|---|---|
| webpack.js webpack-dev-server | < 5.2.6 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 7, 2026 | Initial Analysis | [email protected] |
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | openjs |