Skip to main content

Deno EUVDEUVD-2026-38544

| CVE-2026-49411 MEDIUM
Improper Access Control (CWE-284)
2026-06-16 https://github.com/denoland/deno GHSA-v8fw-85r8-5m23
6.5
CVSS 3.1 · Vendor: https://github.com/denoland/deno
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker-controlled code executes inside Deno process
  2. Delivery
    Construct node:net.connect with decimal or hex IPv4 alias as host option
  3. Exploit
    TCPWrap checks permission against pre-resolution string - no deny-rule match
  4. Execution
    OS resolves numeric alias to denied IP (e.g., 127.0.0.1)
  5. Persist
    TCP connection established to denied loopback/IMDS endpoint
  6. Impact
    Exfiltrate data or pivot via now-reachable protected service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following: (1) The Deno program uses --deny-net with a rule covering the target IP (e.g., --deny-net=127.0.0.0/8 or --deny-net=169.254.169.254) - programs using only --allow-net allowlists or no network permission flags are entirely unaffected; (2) The attacker controls or influences a host or hostname value passed in options-object form to node:net.connect({ host }) or node:http.request({ hostname }) - achievable via a malicious/compromised dependency, a plugin system that evaluates third-party code, or attacker-supplied data reaching these call sites; (3) Deno version 2.7.14 or earlier is in use. Exploitation is blocked by: use of native Deno APIs (Deno.connect, fetch), URL-string-form HTTP calls (node:http.request('http://...')), or host values already in dotted-quad form that match the deny rule verbatim. The CVSS PR:L metric reflects that the attacker must achieve code execution inside the Deno process - unauthenticated remote exploitation of a bare Deno runtime is not demonstrated.

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N scoring 6.5 is well-grounded: the attack is local in the sense that the attacker must be able to execute code within the target Deno process (as a dependency, plugin, or via attacker-controlled input), requires no user interaction, and carries a scope change because the bypass crosses the process's intended permission boundary to reach denied external resources. The practical blast radius is highly deployment-dependent: programs not using --deny-net at all are entirely unaffected, and programs using --allow-net allowlists rather than deny-net denylists are also unaffected by design. For deployments that do rely on --deny-net to protect loopback services, private RFC-1918 ranges, or cloud IMDS endpoints (169.254.169.254), the bypass is a meaningful security regression since any dependency running in the same process can exploit it trivially. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. No CISA KEV listing is present - active in-the-wild exploitation is not confirmed at time of analysis. A detailed proof-of-concept, including working JavaScript code tested on Deno 2.7.14, is publicly available in the vendor advisory, lowering the technical barrier to exploitation significantly.

Exploit ScenarioDerived

A supply-chain-compromised npm package loaded by a Deno application running with --allow-net --deny-net=169.254.169.254 calls node:net.connect({ host: '2869586618', port: 80 }) - the decimal integer alias for 169.254.169.254 - bypassing the deny rule and reaching the AWS Instance Metadata Service. A publicly available proof-of-concept confirms the primitive works on Deno 2.7.14, and the IMDS response can return IAM credentials or other sensitive instance data without any further privilege escalation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 16, 2026

Deno's Node.js compatibility TCP path (node:net.connect / node:http.request options form) fails to re-check network permissions against the resolved IP address, allowing numeric IPv4 aliases (e.g., decimal integer '2130706433' or hex '0x7f000001' for 127.0.0.1) to bypass --deny-net rules in Deno versions up to and including 2.7.14. Any code executing inside the Deno process - including supply-chain-compromised dependencies or attacker-controlled input - can reach explicitly denied destinations such as loopback services, private ranges, or cloud instance metadata endpoints by exploiting this pre-resolution-only permission check. No public exploit identified at time of analysis via CISA KEV, but publicly available exploit code exists (proof-of-concept published in GHSA-v8fw-85r8-5m23); fix is available in Deno 2.8.0.

RemediationAI

Vendor-released patch: Deno 2.8.0. Upgrade to Deno 2.8.0 or later, which fixes the Node TCPWrap path to re-check permissions against the resolved IP address (see https://github.com/denoland/deno/security/advisories/GHSA-v8fw-85r8-5m23). If an immediate upgrade is not possible, three workarounds reduce exposure with different trade-offs: (1) Replace --deny-net denylists with --allow-net allowlists - allowlists deny numeric aliases by default because they won't match listed hostnames, though this is a potentially disruptive model change that may require enumerating all intended outbound destinations; (2) Validate untrusted host/hostname input before passing it to node:net.connect or node:http.request by rejecting strings matching /^\d+$/ (decimal integer aliases) or strings beginning with '0x' (hexadecimal aliases) - this is targeted but requires identifying every call site that accepts external input; (3) Prefer URL-string call forms (e.g., node:http.request('http://...')) over options-object forms for any connection whose destination may be influenced by untrusted input, since the URL parser normalizes hostnames before the permission check runs.

Affected VersionsENISA

deno < 2.8.0

Affected Packages

cargo deno fix: 2.8.0

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's permission model is designed to evaluate --deny-net rules against the resolved IP address of a connection target, not just the caller-supplied string. The affected code path is the Node.js compatibility layer's TCPWrap implementation (pkg:rust/deno), which backs node:net.connect({ host, port }) and node:http.request({ hostname, port }) in options-object form. The root cause is CWE-284 (Improper Access Control): TCPWrap performs its permission check against the pre-resolution hostname string and does not repeat the check after the OS resolves the alias to its canonical IP. IPv4 numeric aliases - both 32-bit decimal integers and hexadecimal representations - are accepted by the underlying OS network stack as valid IP references but do not textually match deny-rule strings like '127.0.0.1' or '127.0.0.0/8'. Native Deno APIs (Deno.connect, Deno.connectTls, fetch) and URL-string-form node:http.request calls are not affected because they either re-check permissions post-resolution or pass the host through the WHATWG URL parser, which normalizes numeric aliases to dotted-quad form before the permission check runs.

Know when Node.js gets its next vulnerability

  • 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

Vendor (https://github.com/denoland/deno) PRIMARY 6.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

AV:L and PR:L because exploitation requires code execution inside the Deno process; S:C and C:H because the bypass crosses the permission boundary to reach protected denied endpoints.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (https://github.com/denoland/deno).

CVSS VectorVendor: https://github.com/denoland/deno

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Summary

Deno's network permission model is designed so that --deny-net rules apply to the resolved IP address of a destination, not just the literal string supplied by the caller. That means --deny-net=127.0.0.1 (or --deny-net=127.0.0.0/8) is expected to block any attempt to reach loopback, regardless of how the hostname is spelled.

On affected versions, the Node.js compatibility TCP path checked the permission against the original hostname string before resolution and then did not re-check after resolution. A caller could therefore pass a numeric alias of an IP address (for example the decimal integer 2130706433 or the hex form 0x7f000001, both of which resolve to 127.0.0.1) and reach the denied destination through node:net.connect or node:http.request's { host, port } options form.

The native Deno.connect(), fetch(), and URL-string variants of node:http.request("http://...") were not affected, because they either re-checked permissions after resolution or normalized the hostname through the URL parser before checking.

Proof of concept

Run on Deno 2.7.14, with a local TCP listener on 127.0.0.1:<PORT>:

js
import net from "node:net";

// --allow-net + --deny-net=127.0.0.0/8
// (or even --deny-net=127.0.0.1:<PORT>)
net.connect({ host: "2130706433", port: PORT });     // CONNECTED ❌
net.connect({ host: "0x7f000001", port: PORT });     // CONNECTED ❌
net.connect({ host: "127.0.0.1",  port: PORT });     // denied ✅

The same primitive reached the loopback HTTP listener through node:http when the destination was passed as options rather than as a URL string:

js
import http from "node:http";

// options-form host - bypasses the deny rule on affected versions
http.request({ hostname: "2130706433", port: PORT, path: "/" }).end();

// URL-string form - correctly denied (URL parser normalizes the host)
http.request(`http://2130706433:${PORT}/`).end();

The server-side log showed the bypassed requests arriving from 127.0.0.1 with the numeric alias preserved in the Host header.

Impact

A program that intentionally allows broad outbound network access but uses --deny-net to carve out protected destinations, typically loopback, private/internal ranges, or cloud-instance metadata IPs, could be made to reach those denied destinations from less-trusted code (a dependency, plugin, or attacker-controlled input) that funnels through node:net.connect({ host }) or node:http.request({ hostname }).

The CVSS vector reflects this as a local-attack-vector, permissions-required confidentiality impact: the attacker needs to be able to run code inside the Deno process, and the demonstrated primitive is "reach an explicitly denied IP." It does not by itself exfiltrate data or execute code; the further impact depends on what the now-reachable endpoint exposes.

The confirmed scope is IPv4 numeric hostname aliases reaching a denied resolved IP through the Node TCPWrap / options-host path. URL strings, node:http2, undici, and IPv6 numeric/mapped-address variants were not exhaustively tested by the reporter.

Not affected

  • Programs that do not use --deny-net at all (the bug is specifically about deny rules being bypassed; allow rules were always checked against the original string).
  • Native Deno networking APIs (Deno.connect, Deno.connectTls, fetch, ...), these already re-checked permissions after resolution as of PR #33203.
  • URL-string callers such as fetch("http://2130706433/") or node:http.request("http://2130706433/"), the URL parser normalized the hostname to its dotted-quad form before the permission check ran.
  • Calls that do not provide host/hostname (e.g. connecting by IP literal or by a name that the deny rule already matches verbatim).

Workarounds

If you cannot upgrade immediately, reduce exposure by:

  • Preferring an --allow-net allowlist over a --deny-net denylist. An allowlist denies numeric aliases by default because they don't match the listed hostnames; only the destinations you've explicitly permitted can be reached.
  • Validating untrusted host input before passing it to node:net.connect / node:http.request. Reject hostnames that are purely decimal integers (/^\d+$/) or begin with 0x, as these are the alias forms exploited by the bypass.
  • Avoiding the Node options-host path for sensitive calls in favour of URL-string forms, which are normalized by the URL parser before the permission check.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy