CVE-2026-112085
Last modified
CVE-2026-112085 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Webpack.Js | Webpack-Dev-Server | < 5.2.7 |
| Webpack.Js | Webpack-Dev-Server | >= 6.0.0, < 6.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-112085?
How severe is CVE-2026-112085?
How do I fix CVE-2026-112085?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-112079A vulnerability has been found in hankcs HanLP up to 2.1.0-b…6.3
- CVE-2026-11208Use after free in Codecs in Google Chrome prior to 149.0.782…6.5
- CVE-2026-112080A vulnerability was found in LlamaChinese Llama-Chinese up t…6.3
- CVE-2026-112081A vulnerability was determined in hankcs HanLP up to 2.1.0-b…6.3
- CVE-2026-112082A vulnerability was identified in sgl-project SGLang up to 0…7.5
- CVE-2026-112083A security flaw has been discovered in sgl-project SGLang up…5.3
- CVE-2026-112086A vulnerability was found in ESPnet up to 202610.post2. This…6.3
- CVE-2026-112087A weakness has been identified in itsourcecode Online Cake O…6.3
- CVE-2026-112088A weakness has been identified in Dav-ee dairy-management-sy…6.3
- CVE-2026-112089A security vulnerability has been detected in Dav-ee dairy-m…4.7
- CVE-2026-11209Inappropriate implementation in Passwords in Google Chrome p…6.5
- CVE-2026-112090A vulnerability was detected in Dav-ee dairy-management-syst…6.3
Are you affected by CVE-2026-112085?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
