OpenSec reported sandbox escapes in Deno on December 1, 2026. We independently reproduced two command-execution paths on the official Deno 2.9.8 with all runtime permissions denied. One abuses native Response ownership (reported in 2.8.3 through 2.9.8). The other combines a stale stream handle with a file-content disclosure (stream operations reported in 2.9.0 through 2.9.8). The disclosure also affects earlier releases.
As of December 2, 2026, 2.9.8 is the latest release. We found no new Deno advisory, CVE ID, or fixed version. Our reproductions don't establish exploitation in the wild. The attacker's JavaScript must already run inside Deno, for example through submitted scripts, plugins, or compromised dependencies. Commands run with the privileges of the Deno process, and --no-prompt doesn't mitigate these bugs.
What we recommend:
- Suspend or isolate untrusted-code execution in a disposable container, gVisor sandbox, or microVM under an unprivileged OS user.
- Remove inherited authority such as Docker sockets, host mounts, privileged groups, and unneeded credentials.
- Inventory the Deno version and checksum in every image, worker, and compiled executable that embeds Deno.
- Upgrade once a Deno release explicitly addresses these findings, and don't assume
deno upgradeis enough until then. - Rebuild and restart affected workloads, then review process execution and file access during the exposure window.