Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
denoland deno
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Deno是Deno开源的一个简单、现代且安全的 JavaScript 和 TypeScript 运行环境。 Deno 2.1.13之前版本和2.2.13之前版本存在安全漏洞,该漏洞源于Deno.env.toObject方法忽略deny-env选项,可能导致敏感信息泄露。

AI Predicted 7.5 Difficulty: Easy EPSS 0.37% · P31

Possible ATT&CK Techniques 1 AI

T1056 · Input Capture
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-48934

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Deno.env.toObject() ignores the variables listed in --deny-env and returns all environment variables
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
通过发送数据的信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
Deno 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Deno是Deno开源的一个简单、现代且安全的 JavaScript 和 TypeScript 运行环境。 Deno 2.1.13之前版本和2.2.13之前版本存在安全漏洞,该漏洞源于Deno.env.toObject方法忽略deny-env选项,可能导致敏感信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
denoland deno < 2.1.13 -

II. Public POCs for CVE-2025-48934

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-48934

登录查看更多情报信息。

Patches & Fixes for CVE-2025-48934 (1)

Vendor Advisories for CVE-2025-48934 (1)

Same Patch Batch · denoland · 2025-06-04 · 3 CVEs total

CVE-2025-48888 Deno run with --allow-read and --deny-read flags results in allowed
CVE-2025-48935 Deno has --allow-read / --allow-write permission bypass in `node:sqlite`

IV. Related Vulnerabilities

V. Comments for CVE-2025-48934

No comments yet


Leave a comment