CVE-2025-61785: deno Incorrect Privilege Assignment
Vulnerability summary
CVE-2025-61785 is a low (CVSS 3.3) Incorrect Privilege Assignment vulnerability in deno. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.2% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 08-10-2025PublishedVulnerability first disclosed.
- 08-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · Crates.ioEcosystem advisory · calculated3.3LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- NVDNIST3.3LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
0.00 pp
From 0.20% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundDeno
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- deno< 2.5.3
Deno1 product
- deno≤ 2.2.15 | ≥ 2.3.0, < 2.5.3
Denoland1 product
- deno≥ 2.3.0, < 2.5.3 | < 2.2.15
3 vendors · 3 products
References
7 links- github.com/denoland/deno/security/advisories/GHSA-vg2r-rmgp-cgqjX Refsource CONFIRMWEBExploitVendor Advisory
- github.com/denoland/denoPACKAGE