Back to CVE records
Low 3.3Published Oct 7, 2025

CVE-2025-61786Deno's --deny-read 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.stat` and `Deno.FsFile.prototype.statSync` are not limited by the permission model check `--deny-read=./`. It's possible to retrieve stats from files that the user do not have explicit read access to (the script is executed with `--deny-read=./`). Similar APIs like `Deno.stat` and `Deno.statSync` require `allow-read` permission, however, when a file is opened, even with file-write only flags and deny-read permission, it's still possible to retrieve file stats, and thus bypass the permission model. Versions 2.5.3 and 2.2.15 fix the issue.

CVSS
3.3 LOW (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-269
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

References

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.