patchminder
Proof of concept · CISA assessment CVE-2025-61785

Privilege escalationin denoland deno.

Published 8 Oct 2025 · Updated 8 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Low 3.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.2.15, 2.5.3
In plain words

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.

What to do now
  • Upgrade deno to 2.2.15, 2.5.3 or later, whichever matches your release line.
  • Upgrade deno (crates.io) to 2.5.3 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
deno
2.3.0 to before 2.5.3
2.5.3
CVE record
deno
before 2.2.15
2.2.15
CVE record
deno (crates.io)
before 2.5.3
2.5.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 30 Sep 2025
    CVE ID reserved by GitHub_M.
  2. 8 Oct 2025
    Published in the CVE List.
  3. 8 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other deno vulnerabilities

Same weakness: Incorrect privilege assignment

All CWE-266 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-61785: Privilege escalation in denoland deno. https://patchminder.com/cve/cve-2025-61785/ (accessed 5 December 2026).