CVE-2026-49859
MEDIUM
5.2
CVSS 3.1
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.
Metadata
Severity & Metrics
5.2
MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| denoland | deno | — | < 2.8.1 |
Weakness (CWE)
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.2 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
References (1)
- https://github.com/denoland/deno/security/advisories/GHSA-cpgj-f7g3-2pp2 https://github.com/denoland/deno/security/advisories/GHSA-cpgj-f7g3-2pp2