Live threats

All CVEs / Deno

CVE-2025-48934Deno

Medium 5.5 No auth needed

Priority
48
CVSS 4.0
5.5
EPSS
—
Auth required
No
Published
Jun 4, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-201
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to versions 2.1.13 and 2.2.13, the `Deno.env.toObject` method ignores any variables listed in the `--deny-env` option of the `deno run` command. When looking at the documentation of the `--deny-env` option this might lead to a false impression that variables listed in the option are impossible to read. Software relying on the combination of both flags to allow access to most environment variables except a few sensitive ones will be vulnerable to malicious code trying to steal secrets using the `Deno.env.toObject()` method. Versions 2.1.13 and 2.2.13 contains a patch.

Original NVD text.

What to do

  1. Apply the vendor's security update for Deno.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io deno < 2.1.13 2.1.13 cargo update -p deno --precise 2.1.13
crates.io deno ≥ 2.2.0 < 2.2.13 2.2.13 cargo update -p deno --precise 2.2.13
crates.io deno_runtime < 0.212.0 0.212.0 cargo update -p deno_runtime --precise 0.212.0

Per OSV / GitHub Advisories (GHSA-7w8p-chxq-2789). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
denodeno< 2.1.13
denodeno≥ 2.2.0 < 2.2.13

Official sources

References

Links published by the sources. Open them with care.