Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-48935 EUVD-2025-16915GHSA-8vxj-4cph-c596RUSTSEC-2025-0138

Deno has --allow-read / --allow-write permission bypass in `node:sqlite`

Published Jun 4, 2025 · Updated Jun 4, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
denoland deno >= 2.2.0, < 2.2.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io deno >= 2.2.0, < 2.2.5 2.2.5 GHSA-8vxj-4cph-c596
crates.io deno_node >= 0.129.0, < 0.134.0 0.134.0 GHSA-8vxj-4cph-c596

References