Access Control Bypass Affecting deno package, versions <2.8.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-DENO-17660658
  • published27 Jun 2026
  • disclosed16 Jun 2026
  • creditsugarless1101

Introduced: 16 Jun 2026

NewCVE-2026-49411  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade deno to version 2.8.0 or higher.

Overview

deno is an a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Affected versions of this package are vulnerable to Access Control Bypass via the permission check process. An attacker can access explicitly denied network destinations by supplying numeric hostname aliases in the host or hostname fields of node:net.connect or node:http.request options, bypassing intended network restrictions.

Workaround

This vulnerability can be mitigated by preferring an --allow-net allowlist over a --deny-net denylist, validating untrusted host input to reject purely decimal integers or values beginning with 0x, and avoiding the Node options-host path for sensitive calls in favor of URL-string forms.

References

CVSS Base Scores

version 4.0
version 3.1