Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ 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.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Changed — a successful attack reaches components beyond the vulnerable one.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: 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)

Other advisories for this package

deno has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-918: Server-Side Request Forgery (SSRF)) in other software:

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-20
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.

Browse related advisories

All advisoriesCVECVE 2026
✓