CVE-2025-48935Published Jun 4, 2025 · Jun 4Updated Oct 28
Deno has --allow-read / --allow-write permission bypass in `node:sqlite`
denoland deno
Medium5.5Fix available
denoland deno
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.
From the CVE record · GitHub_M
Deno's database read/write permission check can be bypassed using an `ATTACH DATABASE` statement. This affects Deno starting at 2.2.0 and before 2.2.5; the input does not specify network access, authentication, or user-interaction requirements.
Check installations using the crates.io deno package from 2.2.0 to before 2.2.5 or deno_node from 0.129.0 to before 0.134.0.