{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-112085 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-112085 is a high-severity vulnerability in webpack-dev-server, published on 22 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-112085 and fix it if it is affected.\n\nWhat it is: CVE-2026-112085 is a high-severity vulnerability in webpack-dev-server, published on 22 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-112085 in the wild and no public exploit code.\n\nAffected product: webpack-dev-server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-112085/ (Markdown: https://insights.sbomify.com/CVE-2026-112085/index.md)","id":"CVE-2026-112085","markdown":"https://insights.sbomify.com/CVE-2026-112085/index.md","name":"CVE-2026-112085","record":{"aliases":["AZL-111065","GHSA-cfqc-fj3v-j925","UBUNTU-CVE-2026-112085"],"analysis":null,"analysis_generated_by":null,"assigner":"openjs","cpe":[{"product":"webpack-dev-server","vendor":"webpack.js"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"webpack-dev-server vulnerable to cross-origin WebSocket access via proxied upgrades","id":"CVE-2026-112085","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"ESPnet Inference Model inference_model.py build_model deserialization","id":"CVE-2026-112086"},"packages":[],"prev":{"headline":"sgl-project SGLang Weight Exporter weight_exporter.py WeightExporter.send_weights_to_remote_instance denial of service","id":"CVE-2026-112083"},"products":["webpack-dev-server"],"published":"2026-10-22","related":[{"cvss_score":7.5,"headline":"Missing Origin Validation in webpack-dev-server","id":"CVE-2018-14732","kev_date_added":null,"published":"2018-09-21"},{"cvss_score":6.5,"headline":"webpack-dev-server users' source code may be stolen when they access a malicious web site with non-Chromium based browser","id":"CVE-2025-30360","kev_date_added":null,"published":"2025-06-03"},{"cvss_score":5.3,"headline":"webpack-dev-server vulnerable to information disclosure via Host validation bypass in the open-editor endpoint","id":"CVE-2026-114348","kev_date_added":null,"published":"2026-10-22"},{"cvss_score":5.3,"headline":"webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header","id":"CVE-2026-14631","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":5.3,"headline":"webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies","id":"CVE-2026-9595","kev_date_added":null,"published":"2026-06-15"},{"cvss_score":5.3,"headline":"webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins","id":"CVE-2026-6402","kev_date_added":null,"published":"2026-05-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-22","vendors":["webpack-dev-server"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-112085/"}