CVE-2025-61786
October 08, 2025
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.
Affected Packages
https://github.com/denoland/deno.git (GITHUB):
Affected version(s) >=v0.0.1 <v2.2.15Fix Suggestion:
Update to version v2.2.15https://github.com/denoland/deno.git (GITHUB):
Affected version(s) >=v2.3.0 <v2.5.3Fix Suggestion:
Update to version v2.5.3deno (RUST):
Affected version(s) >=0.0.1 <2.2.15Fix Suggestion:
Update to version 2.2.15deno (RUST):
Affected version(s) >=2.3.0 <2.5.3Fix Suggestion:
Update to version 2.5.3Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.8
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Privilege Management
EPSS
Base Score:
0.02