Improper privilege management in Deno - CVE-2025-61786

 

Improper privilege management in Deno - CVE-2025-61786

Published: April 23, 2026


Vulnerability identifier: #VU127063
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-61786
CWE-ID: CWE-269
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Deno Land
Affected software:
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.


How to mitigate CVE-2025-61786

Install security update from vendor's website.

Sources