PT-2026-50153 · Deno · Deno
CVSS v3.1
5.2
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Deno versions prior to 2.8.1
Description
When the
fetch() function is called, the runtime validates the destination hostname against --deny-net rules but fails to re-verify the IP addresses that the hostname resolves to. This allows an attacker-controlled script to use a specially crafted domain name that passes the initial hostname check but resolves to a denied IP address, effectively bypassing network isolation rules. This can lead to unauthorized access to blocked hosts, such as localhost or internal services, particularly when running untrusted or third-party code.Recommendations
Update to version 2.8.1.
As a temporary mitigation, avoid granting
--allow-net to untrusted code that relies on --deny-net restrictions for security.Exploit
Fix
Protection Mechanism Failure
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Deno