What’s Vulnerable › Vulnerabilities

CVE-2026-49859: Deno: `fetch()` API sandbox bypass via missing DNS resolution check

Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, when fetch() was called, 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.

Affected products

How to fix

Upgrade to a fixed version: denoland deno 2.8.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-49859 or the next vulnerability affects your stack