CVE-2026-49859

Deno: `fetch()` API sandbox bypass via missing DNS resolution check

State
Published
Severity
5.2 Medium
Published
Jun 23, 2026
Updated
Jun 24, 2026
Reserved
Jun 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.2 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-693 Protection Mechanism Failure
  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
denodenoland
  • < 2.8.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.