All vulnerabilities

Servers and applications

CVE-2025-61785

Deno.FsFile.prototype.utime and Deno.FsFile.prototype.utimeSync --deny-write permission bypass

Severity
Low 3.3
Published
7 Oct 2025
Last changed
8 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.2.15, 2.5.3
Also known as
GHSA-vg2r-rmgp-cgqj
Sources
NVD, Project advisories (GitHub)

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…

Affected software

SoftwareAffected versions
DenoServers and applications · cpe:a:deno:deno
  • Every version up to 2.2.15
  • From 2.3.0 before 2.5.3
DenoServers and applications · github:denoland/deno
  • Every version before 2.2.15

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-61785
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-61785
  • GitHub Advisory Database https://github.com/advisories/GHSA-vg2r-rmgp-cgqj
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-vg2r-rmgp-cgqj