CVE-2025-61786

Deno's --deny-read check does not prevent permission bypass

LOW
3.3
CVSS Score
Published: October 8, 2025 at 12:49 AM UTC
Updated: October 8, 2026 at 01:10 PM UTC
2 products affected across 2 vendorsDenoDeno

Using deno by denoland?

Get instant alerts when new vulnerabilities affect deno - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.3
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
v ≤ 2.2.152.3.0 ≤ v < 2.5.3*
Affected range stops below 2.5.3, so it looks safe — our inference, not a vendor statement
v < 2.2.15>= 2.3.0, < 2.5.3
Affected range stops below 2.2.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.5.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/denoland/deno/security/advisories/GHSA-qq26-84mh-26j9
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/denoland/deno/pull/30876
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/denoland/deno/releases/tag/v2.2.15
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/denoland/deno/releases/tag/v2.5.3

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

3.3LOWGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-269

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card