File Access Permissions Bypass in Deno Runtime
CVE-2025-61786
3.3LOW
What is CVE-2025-61786?
A vulnerability in the Deno runtime permits unauthorized retrieval of file statistics, circumventing the permission model. Specifically, Deno.FsFile.prototype.stat
and Deno.FsFile.prototype.statSync
do not adhere to the expected permission restrictions when the --deny-read=./
flag is applied. This allows users to access file statistics even if they lack explicit read access, raising serious security concerns. The issue has been addressed in Deno versions 2.5.3 and 2.2.15.
Affected Version(s)
deno >= 2.3.0, < 2.5.3 < 2.3.0, 2.5.3
deno < 2.2.15 < 2.2.15