Improper privilege management in Deno - CVE-2025-61786
Published: April 23, 2026
Deno
Detailed vulnerability description
The vulnerability allows a local user to disclose sensitive information.
The vulnerability exists due to improper privilege management in Deno.FsFile.prototype.stat and Deno.FsFile.prototype.statSync when retrieving file metadata from an opened file handle. A local user can open a file with write-only flags and call the stat APIs to disclose sensitive information.
The issue occurs when the script is executed with --deny-read=./, allowing file metadata to be retrieved even though direct read access is denied.