Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 99%

CVE-2026-49859: CWE-693: Protection Mechanism Failure in denoland deno

0
Medium
VulnerabilityCVE-2026-49859cvecve-2026-49859cwe-693cwe-918
Published: 06/23/2026 (06/23/2026, 17:14:16 UTC)
Source: CVE Database V5
Vendor/Project: denoland
Product: deno

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.

CVSS v3.1

Score 5.2medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
denoland/deno
pkg:github/denoland/deno
Affected versions
<2.8.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 23:18:07 UTC

Technical Analysis

In Deno before version 2.8.1, the fetch() API performed network access control by checking the destination hostname against configured --deny-net rules. However, it did not re-validate the IP addresses that the hostname resolved to, allowing an attacker to craft a domain name that passes the hostname check but resolves to an IP address that should be denied. This constitutes a protection mechanism failure (CWE-693) and improper control of resource access (CWE-918). The vulnerability is addressed in Deno 2.8.1 by ensuring IP addresses are checked against deny-net rules after DNS resolution.

Potential Impact

An attacker controlling a script running in a vulnerable Deno environment could bypass network restrictions configured via --deny-net by exploiting the hostname-to-IP resolution gap. This could lead to unauthorized network access to IP addresses that are intended to be blocked, potentially exposing sensitive internal resources or services. The CVSS score of 5.2 reflects a medium severity with limited privileges required and no user interaction needed.

Mitigation Recommendations

Upgrade Deno to version 2.8.1 or later, where this vulnerability is fixed. Since the vendor advisory confirms the issue is resolved in 2.8.1, applying this official fix fully mitigates the risk. No additional mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-01T22:03:19.640Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3ac4efeed863c81e61823e

Added to database: 06/23/2026, 17:39:59 UTC

Last enriched: 06/30/2026, 23:18:07 UTC

Last updated: 08/04/2026, 12:46:13 UTC

Views: 48

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses