CVE-2025-61785 in Deno
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`) time...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Deno | Deno | ≤ 2.2.15 ≥ 2.3.0, < 2.5.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-61785 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-035087-L |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| Published | 2025-10-08 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-266: CWE-266
Analysis AI-written, not human-reviewed
CVE-2025-61785 affects Deno versions prior to 2.5.3 and 2.2.15, where the `utime` and `utimeSync` methods on `Deno.FsFile.prototype` can be exploited to modify file access and modification times without proper permission checks.
An attacker with access to a Deno application running an affected version can manipulate file timestamps by using the `utime` or `utimeSync` methods, even if the file is opened with read-only permissions. This can lead to potential data integrity issues and may be used to obfuscate file access patterns.
Questions
What is CVE-2025-61785?
CVE-2025-61785 affects Deno versions prior to 2.5.3 and 2.2.15, where the `utime` and `utimeSync` methods on `Deno.FsFile.prototype` can be exploited to modify file access and modification times without proper permission checks.
What is the CVSS score for CVE-2025-61785?
CVE-2025-61785 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.2%.
Is CVE-2025-61785 actively exploited?
No confirmed active exploitation of CVE-2025-61785 as of 2026-10-10.
How do I remediate CVE-2025-61785?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-61785?
CVE-2025-61785 affects Deno Deno.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Deno","product":"Deno","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.