Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. deno
  4. ›
  5. CVE-2026-49859

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

June 16, 2026 (updated July 20, 2026)

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.

References

  • github.com/advisories/GHSA-cpgj-f7g3-2pp2
  • github.com/denoland/deno/security/advisories/GHSA-cpgj-f7g3-2pp2
  • nvd.nist.gov/vuln/detail/CVE-2026-49859

Code Behaviors & Features

Detect and mitigate CVE-2026-49859 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.8.1

Fixed versions

  • 2.8.1

Solution

Upgrade to version 2.8.1 or above.

Impact 5.2 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

cargo/deno/CVE-2026-49859.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.