Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconSupply chain dependency injected
-
DeliveryUser runs script with --deny-net
-
ExploitScript opens WebSocket to attacker-owned domain
-
InstallHostname passes --deny-net blocklist check
-
C2DNS resolves hostname to blocked IP
-
ExecuteDeno connects without re-validating IP
-
ImpactRestricted internal service reached
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three conditions must all be met: (1) The attacker controls JavaScript code executing within a Deno process - either authored directly or injected via a supply chain compromise of a loaded dependency; (2) the Deno invocation includes both |
| Impact | The CVSS 5.2 Medium rating with vector AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N is appropriate and coherent: the attacker must already be executing code inside the Deno process (AV:L/PR:L), but once inside the sandbox the attack requires no complexity and achieves a scope change (S:C) by crossing the network isolation boundary. No EPSS score was provided in the input, so exploitation probability cannot be quantified. There is no CISA KEV listing and no public POC has been identified. Despite the moderate CVSS, the real-world supply chain risk is elevated: a single compromised JSR or npm dependency loaded by |
| Exploit ScenarioDerived | A compromised or malicious package in a Deno project's dependency tree (supply chain attack) registers an attacker-controlled domain (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
WebSocket connections in Deno 2.8.0 and earlier silently bypass --deny-net network sandbox rules by exploiting a missing post-DNS-resolution IP check - the runtime validates the destination hostname but never validates the IP address that hostname resolves to, enabling a classic DNS-rebinding-style SSRF (CWE-918) within the permission system. Any script running under deno run with --deny-net restrictions can weaponize an attacker-controlled domain to reach blocked hosts such as localhost or cloud metadata endpoints (e.g., 169.254.169.254). No public exploit has been identified at time of analysis, and the issue is specific to the WebSocket API; Deno.connect and fetch() are addressed in a companion advisory.
RemediationAI
Upgrade Deno to version 2.8.1 or later, which is the vendor-released patch confirmed in GHSA-83pc-3rw9-qpwj (https://github.com/denoland/deno/security/advisories/GHSA-83pc-3rw9-qpwj). The vendor explicitly states no configuration-level workaround exists. As a compensating control where an immediate upgrade is not possible, remove --allow-net from any invocation of untrusted code that also relies on --deny-net for security - this eliminates the attack surface entirely by denying all network access, though it will break any functionality that requires legitimate outbound connectivity. A second compensating control is to enforce network isolation at the OS layer (e.g., Linux network namespaces, container egress firewall rules, or iptables rules blocking internal CIDRs) rather than relying solely on Deno's runtime permission system. OS-level controls are not bypassable by script-layer DNS tricks and provide a defense-in-depth layer regardless of patch status.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Deno (pkg:rust/deno) implements a capability-based permission system where --deny-net blocklists specific hostnames or IP ranges to restrict outbound network access from untrusted scripts. For WebSocket connections, the enforcement logic performed a single hostname-level match against the blocklist prior to DNS resolution. After DNS resolution, the runtime did not re-validate the resulting IP addresses against the same deny rules - the TCP connection was established directly to the resolved IP without a second permission check. This gap is classified under CWE-918 (Server-Side Request Forgery), because a malicious script can cause the runtime to make network connections to destinations the user explicitly intended to forbid. The root cause is architecturally equivalent to a DNS rebinding attack: the checked identity (hostname) and the connected identity (IP) diverge, and only the former is verified. The issue is isolated to the WebSocket code path; Deno.connect and fetch() have separate (and separately patched) IP validation logic.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attacker code must already execute inside the Deno sandbox (AV:L/PR:L); sandbox escape to restricted network justifies S:C; no availability impact applies.
Primary rating from Vendor (https://github.com/denoland/deno).
CVSS VectorVendor: https://github.com/denoland/deno
DescriptionCVE.org
Summary
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.
Impact
Code running under --deny-net could connect to hosts that the user intended to block. In practice this means network isolation rules - for example, blocking access to localhost or internal services - could be silently circumvented by a malicious or compromised dependency.
Deno.connect and fetch() were not affected by this specific issue (a companion advisory covers fetch()).
Who is affected
Users who:
- run untrusted or third-party code with
deno run, and - rely on
--deny-netto restrict which hosts that code can reach.
If you do not use --deny-net, or if you only run fully trusted code, you are not affected.
Workaround
No workaround is available short of upgrading. If upgrading immediately is not possible, avoid granting --allow-net to untrusted code that also has --deny-net restrictions you depend on for security.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-38542
GHSA-83pc-3rw9-qpwj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB