Skip to content

CVE-2026-49860 Deno: WebSocket API sandbox bypass via missing post-DNS check

MediumCVSS 5.2 EPSS 0.14%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io deno(crates.io) < 2.8.1; <= 2.8.0 2.8.1 Fixed
deno < 2.8.1 2.8.1 Fixed
denoland deno = < 2.8.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io deno(crates.io) < 2.8.1 2.8.1
denoland deno = < 2.8.1 No fix listed
crates.io deno(crates.io) <= 2.8.0 No fix listed
deno < 2.8.1 2.8.1

References