All vulnerabilities

Servers and applications

CVE-2025-61786

Deno.FsFile.prototype.stat and Deno.FsFile.prototype.statSyn --deny-read permission bypass

Severity
Low 3.3
Published
7 Oct 2025
Last changed
8 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.2.15, 2.5.3
Also known as
GHSA-qq26-84mh-26j9
Sources
NVD, Project advisories (GitHub)

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 `--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`…

Affected software

SoftwareAffected versions
DenoServers and applications · cpe:a:deno:deno
  • Every version up to 2.2.15
  • From 2.3.0 before 2.5.3
DenoServers and applications · github:denoland/deno
  • Every version before 2.2.15

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-61786
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-61786
  • GitHub Advisory Database https://github.com/advisories/GHSA-qq26-84mh-26j9
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-qq26-84mh-26j9