CVE-2025-48935 Deno has --allow-read / --allow-write permission bypass in `node:sqlite`
MediumCVSS 5.5
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io deno(crates.io) | >= 2.2.0, < 2.2.5 | 2.2.5 |
| crates.io deno_node(crates.io) | >= 0.129.0, < 0.134.0 | 0.134.0 |
| denoland deno | = >= 2.2.0, < 2.2.5 | No fix listed |
| deno | >= 2.2.0, < 2.2.5 | 2.2.5 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860 patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com