SECURITY & CVE TRACK RECORD

Deno Security Advisories, CVEs & Patched Versions

Historical vulnerability disclosures, CVSS severity ratings, affected version ranges, and verified patch releases for Deno.

Total Tracked Advisories
39
38 distinct CVE numbers
Critical & High Severity
24
62% of all disclosures
Latest Security Fix
2.7.5
Read patch changelog →
Security Posture Status
High Scrutiny
Deterministic OSV.dev telemetry
Tracked Vulnerability Timeline (39)
🛡️ CVE-2026-55517 GHSA-x2qc-cmh9-f4hf Jun 17, 2026
MEDIUM (CVSS 4.3)

Deno: Denial of service via non-ASCII bytes in WebSocket response headers

## Summary A Deno program that opens a client `WebSocket` connection could be crashed by the remote server. While handling the WebSocket handshake response, Deno parsed the `Sec-WebSocket-Protocol` and `Sec-WebSocket-Extensions` response headers in a way that assumed their by...

Vulnerable Range: 0 -> 2.7.5
Fix Version: 2.7.5 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-49401 GHSA-8xpq-cjcf-3wh9 Jun 16, 2026
HIGH (CVSS 7.3)

Deno: Permission Bypass via Unicode Normalization Mismatch on macOS (APFS)

## Summary Deno's permission system enforces filesystem and execution restrictions by comparing the requested path against the path supplied to `--deny-read`, `--deny-write`, `--deny-run`, or `--deny-ffi`. On macOS, that comparison was done at the raw-byte level while the APF...

Vulnerable Range: 0 -> 2.7.14
Official Advisory Source ↗
🛡️ CVE-2026-49406 GHSA-968w-xfqw-vp9q Jun 16, 2026
MEDIUM (CVSS 5.5)

Deno: BYONM module resolution allows `package.json` main path traversal to bypass `--allow-read` restrictions

## Summary When Deno was run in BYONM mode (`nodeModulesDir: "manual"`), the module resolver did not validate that a package's resolved entrypoint stayed within its `node_modules/<pkg>/` directory. A malicious `package.json` whose `main` field contained `..` segments was able...

Vulnerable Range: 0 -> 2.7.12
Official Advisory Source ↗
🛡️ CVE-2026-49411 GHSA-v8fw-85r8-5m23 Jun 16, 2026
MEDIUM (CVSS 6.5)

Deno: Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks

## 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 an...

Vulnerable Range: 0 -> 2.8.0
Fix Version: 2.8.0 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-49402 GHSA-7xh3-mhg9-jcw8 Jun 16, 2026
HIGH (CVSS 8.1)

Deno: Command Injection via spawnSync & spawn on Windows

## Summary Deno's `node:child_process` implementation provided an `escapeShellArg()` helper used when callers passed `shell: true` to `spawn` / `spawnSync` / `exec` and friends. On Windows, the helper failed to quote arguments that contained `cmd.exe` metacharacters such as `...

Vulnerable Range: 0 -> 2.7.10
Official Advisory Source ↗
🛡️ CVE-2026-49983 GHSA-4c8g-jvcx-v4hv Jun 16, 2026
MEDIUM (CVSS 5.2)

Deno: process.loadEnvFile() bypasses env permission checks and mutates process.env with only read access

## Summary In Deno, environment access is gated by the `env` permission. You can deny it with `--deny-env`, or restrict it to a specific allowlist with `--allow-env=FOO,BAR`. The expectation is that a program running without `env` permission cannot change `process.env`. `pro...

Vulnerable Range: 0 -> 2.8.1
Fix Version: 2.8.1 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-49860 GHSA-83pc-3rw9-qpwj Jun 16, 2026
MEDIUM (CVSS 5.2)

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

Vulnerable Range: 0 -> 2.8.1
Fix Version: 2.8.1 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-49859 GHSA-cpgj-f7g3-2pp2 Jun 16, 2026
MEDIUM (CVSS 5.2)

Deno: `fetch()` API sandbox bypass via missing DNS resolution check

## Summary 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 r...

Vulnerable Range: 0 -> 2.8.1
Fix Version: 2.8.1 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-44726 GHSA-chqv-56wv-7564 May 27, 2026
HIGH (CVSS 7.4)

Deno's TLS retry copies stale upgrade hook, risking plaintext traffic

## Summary A flaw in Deno's Node.js tls compatibility layer could cause a TLS client to transmit application data in plaintext after a connection retry. When `autoSelectFamily was enabled and the first address-family attempt failed, the socket reinitialization path reused a s...

Vulnerable Range: 2.0.0 -> 2.7.8
Fix Version: 2.7.8 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-32260 GHSA-4c96-w8v2-p28j Mar 13, 2026
HIGH (CVSS 8.1)

Deno vulnerable to command Injection via incomplete shell metacharacter blocklist in node:child_process

## Summary A command injection vulnerability exists in Deno's `node:child_process` polyfill (`shell: true` mode) that bypasses the fix for CVE-2026-27190 (GHSA-hmh4-3xvx-q5hr). An attacker who controls arguments passed to `spawnSync` or `spawn` with `shell: true` can ex...

Vulnerable Range: 2.7.0 -> 2.7.2
Fix Version: 2.7.2 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-27190 GHSA-hmh4-3xvx-q5hr Feb 19, 2026
HIGH (CVSS 8.1)

Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process

## Summary A command injection vulnerability exists in Deno's `node:child_process` implementation. ## Reproduction ```javascript import { spawnSync } from "node:child_process"; import * as fs from "node:fs"; // Cleanup try { fs.unlinkSync('/tmp/rce_proof'); } catch {} // C...

Vulnerable Range: 0 -> 2.6.8
Fix Version: 2.6.8 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-22864 GHSA-m3c4-prhw-mrx6 Jan 16, 2026
HIGH (CVSS 8.1)

Deno has an incomplete fix for command-injection prevention on Windows - case-insensitive extension bypass

### Summary A prior patch aimed to block spawning Windows batch/shell files by returning an error when a spawned path’s extension matched `.bat` or `.cmd`. That check performs a case-sensitive comparison against lowercase literals and therefore can be bypassed when the extensi...

Vulnerable Range: 0 -> 2.5.6
Fix Version: 2.5.6 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2026-22863 GHSA-5379-f5hf-w38v Jan 16, 2026
CRITICAL

Deno node:crypto doesn't finalize cipher

### Summary The vulnerability allows an attacker to have infinite encryptions. This can lead to naive attempts at brute forcing, as well as more refined attacks with the goal to learn the server secrets. ### PoC ```js import crypto from "node:crypto"; const key = crypto.r...

Vulnerable Range: 0 -> 2.6.0
Fix Version: 2.6.0 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2025-61787 GHSA-m2gf-x3f6-8hq3 Oct 08, 2025
HIGH (CVSS 8.1)

Deno is Vulnerable to Command Injection on Windows During Batch File Execution

### Summary Deno versions up to 2.5.1 are vulnerable to Command Line Injection attacks on Windows when batch files are executed. ### Details In Windows, ``CreateProcess()`` always implicitly spawns ``cmd.exe`` if a batch file (.bat, .cmd, etc.) is being executed even if the a...

Vulnerable Range: 0 -> 2.5.2
Fix Version: 2.5.2 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2025-61786 GHSA-qq26-84mh-26j9 Oct 08, 2025
LOW (CVSS 3.3)

Deno's --deny-read check does not prevent permission bypass

### Summary `Deno.FsFile.prototype.stat` and `Deno.FsFile.prototype.statSync` are not limited by the permission model check `--deny-read=./`. It's possible to retrieve stats from files that the user do not have explicit read access to (the script is executed with `--deny-r...

Vulnerable Range: 0 -> 2.5.3
Fix Version: 2.5.3 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2025-61785 GHSA-vg2r-rmgp-cgqj Oct 07, 2025
LOW (CVSS 3.3)

Deno's --deny-write check does not prevent permission bypass

### Summary `Deno.FsFile.prototype.utime` and `Deno.FsFile.prototype.utimeSync` are not limited by the permission model check `--deny-write=./`. It's possible to change to change the access (`atime`) and modification (`mtime`) times on the file stream resource even when the ...

Vulnerable Range: 0 -> 2.5.3
Fix Version: 2.5.3 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2024-21486 GHSA-jv4x-jv3h-qff5 Jun 05, 2025
MEDIUM (CVSS 5.3)

Deno vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

### Summary Static imports are exempted from the network permission check. An attacker could exploit this to leak the password file on the network. ### Details Static imports in Deno are exempted from the network permission check. This can be exploited by attackers in multi...

Vulnerable Range: 0 -> 2.0.0
Fix Version: 2.0.0 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2025-48935 GHSA-8vxj-4cph-c596 Jun 04, 2025
CRITICAL (CVSS 9.1)

Deno has --allow-read / --allow-write permission bypass in `node:sqlite`

## Summary It is possible to bypass Deno's read/write permission checks by using `ATTACH DATABASE` statement. ## PoC ```js // poc.js import { DatabaseSync } from "node:sqlite" const db = new DatabaseSync(":memory:"); db.exec("ATTACH DATABASE 'test.db' as test;"); db.exec(...

Vulnerable Range: 2.2.0 -> 2.2.5, 0.129.0 -> 0.134.0
Fix Version: 2.2.5 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2025-48934 GHSA-7w8p-chxq-2789 Jun 04, 2025
MEDIUM (CVSS 5.3)

Deno.env.toObject() ignores the variables listed in --deny-env and returns all environment variables

### Summary The [Deno.env.toObject](https://docs.deno.com/api/deno/~/Deno.Env.toObject) method ignores any variables listed in the `--deny-env` option of the `deno run` command. When looking at the [documentation](https://docs.deno.com/runtime/fundamentals/security/#environmen...

Vulnerable Range: 0 -> 2.1.13, 2.2.0 -> 2.2.13, 0 -> 0.212.0
Official Advisory Source ↗
🛡️ CVE-2025-48888 GHSA-xqxc-x6p3-w683 Jun 04, 2025
MEDIUM (CVSS 5.3)

Deno run with --allow-read and --deny-read flags results in allowed

### Summary `deno run --allow-read --deny-read main.ts` results in allowed, even though 'deny' should be stronger. Same with all global unary permissions given as `--allow-* --deny-*`. ### Details Caused by the fast exit logic in #22894. ### PoC Run the above command expe...

Vulnerable Range: 1.41.3 -> 2.1.13, 2.2.0 -> 2.2.13, 2.3.0 -> 2.3.2
Official Advisory Source ↗
🛡️ CVE-2025-24015 GHSA-2x3r-hwv5-p32x Jun 04, 2025
HIGH

Deno's AES GCM authentication tags are not verified

### Summary This affects AES-256-GCM and AES-128-GCM in Deno, introduced by commit [0d1beed](https://github.com/denoland/deno/commit/0d1beed). Specifically, the authentication tag is not being validated. This means tampered ciphertexts or incorrect keys might not be detected,...

Vulnerable Range: 1.46.0 -> 2.1.7, 0.102.0 -> 0.125.0
Fix Version: 2.1.7 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2025-48935 RUSTSEC-2025-0138 Jun 03, 2025
UNRATED

--allow-read / --allow-write permission bypass in `node:sqlite`

It is possible to bypass Deno's read/write permission checks by using ATTACH DATABASE statement. ## PoC ``` // poc.js import { DatabaseSync } from "node:sqlite" const db = new DatabaseSync(":memory:"); db.exec("ATTACH DATABASE 'test.db' as test;"); db.exec("CREATE TABLE te...

Vulnerable Range: 2.2.0 -> 2.2.5
Fix Version: 2.2.5 (Read Notes →)
Official Advisory Source ↗
🛡️ CVE-2025-21620 GHSA-f27p-cmv8-xhm6 Jan 06, 2025
HIGH (CVSS 7.5)

fetch: Authorization headers not dropped when redirecting cross-origin

### Summary When you send a request with the `Authorization` header to one domain, and the response asks to redirect to a different domain, Deno's`fetch()` redirect handling creates a follow-up redirect request that keeps the original `Authorization` header, leaking its conten...

Vulnerable Range: 0.0.1 -> 0.204.0, 0 -> unfixed, 2.0.0 -> 2.1.2
Fix Version: 0.204.0
Official Advisory Source ↗
🛡️ CVE-2024-34346 GHSA-23rx-c3g5-hv9w May 08, 2024
HIGH (CVSS 8.4)

Deno permission escalation vulnerability via open of privileged files with missing `--deny` flag

The Deno sandbox may be unexpectedly weakened by allowing file read/write access to privileged files in various locations on Unix and Windows platforms. For example, reading `/proc/self/environ` may provide access equivalent to `--allow-env`, and writing `/proc/self/mem` may p...

Vulnerable Range: 0 -> 1.43.1
Official Advisory Source ↗
🛡️ CVE-2024-27934 GHSA-3j27-563v-28wf Mar 06, 2024
HIGH (CVSS 8.4)

*const c_void / ExternalPointer unsoundness leading to use-after-free

### Summary Use of inherently unsafe `*const c_void` and `ExternalPointer` leads to use-after-free access of the underlying structure, resulting in arbitrary code execution. ### Details `*const c_void` and `ExternalPointer` (defined via `external!()` macros) types are used...

Vulnerable Range: 1.36.2 -> 1.40.3
Official Advisory Source ↗
🛡️ CVE-2024-27933 GHSA-6q4w-9x56-rmwq Mar 06, 2024
HIGH (CVSS 8.2)

Deno arbitrary file descriptor close via `op_node_ipc_pipe()` leading to permission prompt bypass

### Summary Use of raw file descriptors in `op_node_ipc_pipe()` leads to premature close of arbitrary file descriptors, allowing standard input to be re-opened as a different resource resulting in permission prompt bypass. ### Details Node child_process IPC relies on the J...

Vulnerable Range: 1.39.0 -> 1.39.1
Official Advisory Source ↗
🛡️ CVE-2024-27932 GHSA-5frw-4rwq-xhcr Mar 06, 2024
MEDIUM (CVSS 4.6)

Deno's improper suffix match testing for DENO_AUTH_TOKENS

### Summary Deno improperly checks that an import specifier's hostname is equal to or a child of a token's hostname, which can cause tokens to be sent to servers they shouldn't be sent to. An auth token intended for `example.com` may be sent to `notexample.com`. ### Details ...

Vulnerable Range: 1.8.0 -> 1.40.4
Official Advisory Source ↗
🛡️ CVE-2024-27936 GHSA-m4pq-fv2w-6hrw Mar 05, 2024
HIGH (CVSS 8.8)

Deno's deno_runtime vulnerable to interactive permission prompt spoofing via improper ANSI stripping

### Summary A maliciously crafted permission request can show the spoofed permission prompt by inserting a broken ANSI escape sequence into the request contents. ### Details In [the patch for CVE-2023-28446](https://github.com/denoland/deno/commit/78d430103a8f6931154ddbbe19d3...

Vulnerable Range: 1.32.1 -> 1.41.0, 0.103.0 -> 0.147.0
Official Advisory Source ↗
🛡️ CVE-2024-27935 GHSA-wrqv-pf6j-mqjp Mar 05, 2024
HIGH (CVSS 7.2)

Deno's Node.js Compatibility Runtime has Cross-Session Data Contamination

### Summary A vulnerability in Deno's Node.js compatibility runtime allows for cross-session data contamination during simultaneous asynchronous reads from Node.js streams sourced from sockets or files. The issue arises from the re-use of a global buffer (BUF) in stream_wrap....

Vulnerable Range: 1.35.1 -> 1.36.3
Official Advisory Source ↗
🛡️ CVE-2024-27931 GHSA-hrqr-jv8w-v9jh Mar 05, 2024
MEDIUM (CVSS 5.8)

Insufficient permission checking in `Deno.makeTemp*` APIs

### Impact Insufficient validation of parameters in `Deno.makeTemp*` APIs would allow for creation of files outside of the allowed directories. This may allow the user to overwrite important files on the system that may affect other systems. A user may provide a prefix or su...

Vulnerable Range: 0 -> 1.41.1
Official Advisory Source ↗
🛡️ CVE-2023-33966 GHSA-vc52-gwm3-8v2f May 31, 2023
HIGH (CVSS 8.6)

Missing "--allow-net" permission check for built-in Node modules

### Impact Outbound HTTP requests made using the built-in "node:http" or "node:https" modules are incorrectly not checked against the network permission allow list (`--allow-net`). Dependencies relying on these built-in modules are subject to the vulnerability too. Users of ...

Vulnerable Range: 1.34.0 -> 1.34.1, 0.114.0 -> 0.115.0
Official Advisory Source ↗
🛡️ CVE-2023-26103 GHSA-jc97-h3h9-7xh6 Apr 03, 2023
MEDIUM (CVSS 5.3)

Regular Expression Denial of Service in Deno.upgradeWebSocket API

### Impact Versions of the package deno before 1.31.0 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the upgradeWebSocket function, which contains regexes in the form of /s*,s*/, used for splitting the Connection/Upgrade header. A specially crafted Conne...

Vulnerable Range: 1.12.0 -> 1.31.0
Official Advisory Source ↗
🛡️ CVE-2023-28446 GHSA-vq67-rp93-65qf Mar 24, 2023
HIGH (CVSS 8.8)

Interactive `run` permission prompt spoofing via improper ANSI neutralization

### Summary Arbitrary program names without any ANSI filtering allows any malicious program to clear the first 2 lines of a `op_spawn_child` or `op_kill` prompt and replace it with any desired text. ### Details The main entry point comes down to the ability to override what ...

Vulnerable Range: 1.8.0 -> 1.31.2, 1.8.0 -> 1.31.2
Official Advisory Source ↗
🛡️ CVE-2023-28445 GHSA-c25x-cm9x-qqgx Mar 23, 2023
CRITICAL (CVSS 9.9)

Deno improperly handles resizable ArrayBuffer

### Impact [Resizable ArrayBuffers](https://github.com/tc39/proposal-resizablearraybuffer) passed to asynchronous native functions that are shrunk during the asynchronous operation could result in an out-of-bound read/write. It is unlikely that this has been exploited in the...

Vulnerable Range: 1.32.0 -> 1.32.1, 0.87.0 -> 0.88.0, 0.102.0 -> 0.103.0
Official Advisory Source ↗
🛡️ CVE-2023-22499 GHSA-mc52-jpm2-cqh6 Jan 20, 2023
HIGH (CVSS 8.8)

Deno is vulnerable to race condition via interactive permission prompt spoofing

### Impact Multi-threaded programs were able to spoof interactive permission prompt by rewriting the prompt to suggest that program is waiting on user confirmation to unrelated action. A malicious program could clear the terminal screen after permission prompt was shown and...

Vulnerable Range: 1.9.0 -> 1.29.3
Official Advisory Source ↗
🛡️ CVE-2021-41641 GHSA-67hm-27mx-9cg7 Jun 13, 2022
HIGH (CVSS 8.4)

Link Following in Deno

Deno <=1.14.0 file sandbox does not handle symbolic links correctly. When running Deno with specific write access, the Deno.symlink method can be used to gain access to any directory.

Vulnerable Range: 0 -> 1.16.0
Official Advisory Source ↗
🛡️ CVE-2022-24783 GHSA-838h-jqp6-cf2f Mar 29, 2022
CRITICAL (CVSS 10.0)

Sandbox bypass leading to arbitrary code execution in Deno

### Impact The versions of Deno between release 1.18.0 and 1.20.2 (inclusive) are vulnerable to an attack where a malicious actor controlling the code executed in a Deno runtime could bypass permission checks and execute arbitrary shell code. There is **no** evidence that th...

Vulnerable Range: 1.18.0 -> 1.20.3
Official Advisory Source ↗
🛡️ CVE-2021-32619 GHSA-xpwj-7v8q-mcgj Sep 23, 2021
CRITICAL (CVSS 9.8)

Deno's static imports inside dynamically imported modules do not adhere to permission checks

### Impact Modules that are dynamically imported through `import()` or `new Worker` might have been able to bypass network and file system permission checks when statically importing other modules. In Deno 1.5.x and 1.6.x only programs dynamically importing (especially transi...

Vulnerable Range: 1.5.0 -> 1.10.2
Official Advisory Source ↗