Critical severity · published Jun 4, 2025
CVE-2025-48935
Deno has --allow-read / --allow-write permission bypass in `node:sqlite`
9.1
CVSS
0.5%
EPSS
No
On KEV
Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 2.2.0 and prior to versions 2.2.5, it is possible to bypass Deno's permission read/write db permission check by using `ATTACH DATABASE` statement. Version 2.2.5 contains a patch for the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DE
deno · denoland
>= 2.2.0, < 2.2.5 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-48935
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-48935
Patch
https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860
Exploit
https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596
More from deno
9.8
CVE-2026-32260
Command Injection via incomplete shell metacharacter blocklist in node:child_process (bypass of CVE-2026-27190 fix)
9.8
CVE-2026-27190
Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process
9.8
CVE-2026-22864
Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass
9.1
CVE-2026-44726
Deno: TLS retry copies stale upgrade hook, risking plaintext traffic
9.0
CVE-2024-34346
Deno contains a permission escalation via open of privileged files with missing `--deny` flag
