CVE 5.2 MEDIUM

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

5.2 / 10
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

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.

Basic Information

ID CVE-2026-49860
Source GitHub_M
Published Jun 23, 2026 at 17:15
Modified Jun 23, 2026 at 17:37

Affected Product

Vendor denoland
Product deno
Version < 2.8.1
Affected Versions denoland deno < 2.8.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.