Back to CVE records
Low 3.3Published Oct 7, 2025

CVE-2025-61785Deno's --deny-write check does not prevent permission bypass

Updated under an hour ago ()

Does this affect you?

It affects denoland deno and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
3.3 LOW (v3.0, CNA)CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-266
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Oct 8, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
denoland deno
denoland:deno (from the name)
from 2.3.0, < 2.5.3; before 2.2.15
CNA record
deno deno
deno:deno
through 2.2.15; from 2.3.0 before 2.5.3
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, issue-tracking, patch
  • x-refsource-misc, patch
  • x-refsource-misc, release-notes
  • x-refsource-misc, release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.