{"id":"CVE-2026-49860","published":"2026-06-23T17:15:05Z","modified":"2026-06-23T17:37:07Z","title":"Deno: WebSocket API sandbox bypass via missing post-DNS check","vendor":"denoland","product":"deno","tier":"tail","description":{"text":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, when a WebSocket connection was opened, Deno checked the destination hostname against --deny-net rules but did not re-check the IP addresses that hostname resolved to. An attacker-controlled script could use a specially crafted domain name that passes the hostname check yet resolves to a denied IP, bypassing the network restriction entirely. This vulnerability is fixed in 2.8.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00141,"percentile":0.03491,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-83pc-3rw9-qpwj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.7},{"name":"CVSS severity","points":3.64}]},"vendorSlug":"denoland","affectedVersions":[{"vendor":"denoland","product":"deno","versions":["< 2.8.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T17:37:00.680109Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deno","vulnerableRanges":["<2.8.1"],"patched":["2.8.1"],"from":["GHSA-83pc-3rw9-qpwj"],"provenance":"source"}],"summary":{"text":"Deno, a JavaScript, TypeScript and WebAssembly runtime, prior to 2.8.1 fails to re-check the IP addresses a hostname resolves to when opening a WebSocket connection, so its --deny-net restrictions are applied only to the hostname. An attacker who can run a script in the Deno runtime, with local access and low privileges and no user interaction needed, can use a crafted domain name that passes the hostname check but resolves to a denied IP address, bypassing the network restriction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:29Z"},"euvd":{"id":"EUVD-2026-38542","exploited":false,"provenance":"source"}}