SSRF in Deno
CVE-2026-49860
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.001, 3.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Deno
- Denoland Deno — versions < 2.8.1
Weakness classification (CWE)
References
- https://github.com/denoland/deno/security/advisories/GHSA-83pc-3rw9-qpwj (Vendor Advisory)