What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: denoland deno 2.2.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-48935 or the next vulnerability affects your stack