{"id":71166,"date":"2025-10-08T04:45:33","date_gmt":"2025-10-08T01:15:33","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-61786-denos-deny-read-check-does-not-prevent-permission-bypass\/"},"modified":"2025-10-08T04:45:33","modified_gmt":"2025-10-08T01:15:33","slug":"cve-2025-61786-denos-deny-read-check-does-not-prevent-permission-bypass","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-61786-denos-deny-read-check-does-not-prevent-permission-bypass\/","title":{"rendered":"CVE-2025-61786 &#8211; Deno&#8217;s &#8211;deny-read check does not prevent permission bypass"},"content":{"rendered":"<p>CVE ID : CVE-2025-61786<\/p>\n<p>Published :  Oct. 8, 2025, 1:15 a.m. | 1\u00a0hour, 20\u00a0minutes ago<\/p>\n<p>Description : 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 `&#8211;deny-read=.\/`. It&#8217;s possible to retrieve stats from files that the user do not have explicit read access to (the script is executed with `&#8211;deny-read=.\/`). Similar APIs like `Deno.stat` and `Deno.statSync` require\u00a0`allow-read`\u00a0permission, however, when a file is opened, even with file-write only flags and deny-read permission, it&#8217;s still possible to retrieve file stats, and thus bypass the permission model. Versions 2.5.3 and 2.2.15 fix the issue.<\/p>\n<p>Severity: 3.3 | LOW<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-61786 Published : Oct. 8, 2025, 1:15 a.m. | 1\u00a0hour, 20\u00a0minutes ago Description : 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 `&#8211;deny-read=.\/`. It&#8217;s possible to retrieve stats from files that the user do &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-71166","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=71166"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71166\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=71166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=71166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=71166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}