🛡️ CVE-2026-49860 — deno

🟡 CVSS 5.2 — Medium ✅ No Known Exploit CWE-918 OSV
5.2
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Deno: WebSocket API sandbox bypass via missing post-DNS check

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-net to 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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.

Weakness class

CVE-2026-49860 is classified as CWE-918: Server-Side Request Forgery (SSRF). The server fetches a URL supplied by the caller, which can be pointed at internal systems it alone can reach.

Affected software

CVE-2026-49860 is recorded against 1 package.

  • deno

Timeline and source

Published on 16 June 2026 and last revised on 20 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Package)

Details

Severity MEDIUM
CVSS Score 5.2
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CWE CWE-918
Public Exploit ✅ No
Source OSV
Published 2026-06-16
Updated 2026-08-12
Modified 2026-07-20
Fix URL N/A

Affected Packages

Software From version Fixed in
deno

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in deno

CVE-2026-49860 is rated CVSS 5.2 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.