denoland Deno up to 2.2.14/2.5.2 privileges assignment
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.3 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in denoland Deno up to 2.2.14/2.5.2 and classified as problematic. The affected element is the function Deno.FsFile.prototype.utime/Deno.FsFile.prototype.utimeSync. The manipulation leads to privileges assignment.
This vulnerability is referenced as CVE-2025-61785. The attack can only be performed from a local environment. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability, which was classified as problematic, has been found in denoland Deno up to 2.2.14/2.5.2. This issue affects the function Deno.FsFile.prototype.utime/Deno.FsFile.prototype.utimeSync. The manipulation with an unknown input leads to a privileges assignment vulnerability. Using CWE to declare the problem leads to CWE-266. A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. Impacted is integrity. The summary by CVE is:
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.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2025-61785 since 09/30/2025. The exploitation is known to be easy. Attacking locally is a requirement. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
Upgrading to version 2.2.15 or 2.5.3 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 992e998dfe436cdc9325232759af8be92f11739b is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at CNNVD (CNNVD-202510-1203). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/denoland/deno/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.3VulDB Meta Temp Score: 3.3
VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 3.3
NVD Vector: 🔒
CNA Base Score: 3.3
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Privileges assignmentCWE: CWE-266
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Deno 2.2.15/2.5.3
Patch: 992e998dfe436cdc9325232759af8be92f11739b
Timeline
09/30/2025 CVE reserved10/08/2025 Advisory disclosed
10/08/2025 VulDB entry created
10/16/2025 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-vg2r-rmgp-cgqj
Status: Confirmed
CVE: CVE-2025-61785 (🔒)
GCVE (CVE): GCVE-0-2025-61785
GCVE (VulDB): GCVE-100-327575
CNNVD: CNNVD-202510-1203 - Deno 安全漏洞
Entry
Created: 10/08/2025 06:35Updated: 10/16/2025 20:29
Changes: 10/08/2025 06:35 (67), 10/10/2025 18:49 (6), 10/16/2025 20:29 (10)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.