{"id":"CVE-2025-61785","title":"Deno is a JavaScript, TypeScript, and WebAssembly runtime","summary":"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 p…","severity":"low","cvss":3.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","cwe":["CWE-266"],"vendor":"deno","product":"deno","affected":["deno <= 2.2.15","deno >= 2.3.0, < 2.5.3"],"patched":["deno 2.5.3"],"published":"2025-10-08","updated":"2026-10-08","sourceUpdated":"2026-10-08T13:10:00.200","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-61785","references":[{"url":"https://github.com/denoland/deno/commit/992e998dfe436cdc9325232759af8be92f11739b","label":"security-advisories@github.com"},{"url":"https://github.com/denoland/deno/pull/30872","label":"security-advisories@github.com"},{"url":"https://github.com/denoland/deno/releases/tag/v2.2.15","label":"security-advisories@github.com"},{"url":"https://github.com/denoland/deno/releases/tag/v2.5.3","label":"security-advisories@github.com"},{"url":"https://github.com/denoland/deno/security/advisories/GHSA-vg2r-rmgp-cgqj","label":"security-advisories@github.com"}],"tags":["nvd"],"epss":0.002,"epssPercentile":0.08986,"ingestedAt":"2026-10-08T13:42:54.989Z","slug":"CVE-2025-61785","body":"## Overview\n\nDeno 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.\n\n## Affected\n\n- `deno <= 2.2.15`\n- `deno >= 2.3.0, < 2.5.3`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `deno 2.5.3`","depth":"sunlit","depthScore":18,"depthScoreParts":{"impact":18.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}