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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-61785— Deno's --deny-write check does not prevent permission bypass

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.5.3之前版本和2.2.15之前版本存在安全漏洞,该漏洞源于utime和utimeSync方法未受权限模型限制,可能导致绕过权限模型。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1222.002 · Linux and Mac Permissions
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-61785

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's --deny-write check does not prevent permission bypass
Source: CVE Program / CVE List V5
Vulnerability Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. In versions prior to 2.5.3 and 2.2.15, `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 file is opened with `read` only permission (and `write`: `false`) and file write operations are not allowed (the script is executed with `--deny-write=./`). Similar APIs like `Deno.utime` and `Deno.utimeSync` require `allow-write` permission, however, when a file is opened, even with read only flags and deny-write permission, it's still possible to change the access (`atime`) and modification (`mtime`) times, and thus bypass the permission model. Versions 2.5.3 and 2.2.15 fix the issue.
Source: CVE Program / CVE List V5
CVSS Information
N/A
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.5.3之前版本和2.2.15之前版本存在安全漏洞,该漏洞源于utime和utimeSync方法未受权限模型限制,可能导致绕过权限模型。
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.3.0, < 2.5.3 -

II. Public POCs for CVE-2025-61785

# 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-61785

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-61785 (2)

Vendor Advisories for CVE-2025-61785 (1)

Vendor Pages for CVE-2025-61785 (2)

Same Patch Batch · denoland · 2025-10-08 · 3 CVEs total

CVE-2025-61787 8.1 HIGH Deno is Vulnerable to Command Injection on Windows During Batch File Execution
CVE-2025-61786 3.3 LOW Deno's --deny-read check does not prevent permission bypass

IV. Related Vulnerabilities

V. Comments for CVE-2025-61785

No comments yet


Leave a comment