CVE-2026-114348webpack-dev-server vulnerable to information disclosure via Host validation bypass in…
webpack-dev-server is a development server that provides live reloading for webpack projects. In versions from 5.1.0 before 5.2.7 and in version 6.0.0, the unauthenticated open-editor endpoint validates the Host header with a regular expression meant for browser Origin schemes, so a Host value beginning with file: or with an extension scheme short-circuits the hostname and allowedHosts checks. A network peer that can reach the dev server can send a request with a malformed Host that passes validation and then causes the endpoint's URL construction to throw, and in the default non-production mode the server returns an HTTP 500 body containing the full exception stack trace, which discloses absolute filesystem paths, installed module locations, and internal source line numbers. The server keeps running, so there is no denial of service. The issue is fixed in webpack-dev-server 5.2.7 and 6.1.0, and users should upgrade to one of those versions or later.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-webpack | Fix pending | UBUNTU-CVE-2026-114348 | |
| Ubuntu 26.04 | node-webpack | Under investigation | UBUNTU-CVE-2026-114348 | |
| Ubuntu 24.04 | node-webpack | Under investigation | UBUNTU-CVE-2026-114348 | |
| Ubuntu 22.04 | node-webpack | Under investigation | UBUNTU-CVE-2026-114348 | |
| Ubuntu 20.04 | node-webpack | Fix pending | UBUNTU-CVE-2026-114348 | |
| Ubuntu 18.04 | node-webpack | Fix pending | UBUNTU-CVE-2026-114348 |
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.
- webpack-dev-server: affected: 5.1.0 to before 5.2.7, 5.2.7 not affected, 6.0.0 to before 6.1.0, 6.1.0 not affected; fixed in
5.2.7,6.1.0
References
- https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-wqhc-fvfg-56q6
- https://cna.openjsf.org/security-advisories.html
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.