Moderate severityNVD Advisory· Published Jun 4, 2025· Updated Jun 4, 2025
Deno has --allow-read / --allow-write permission bypass in `node:sqlite`
CVE-2025-48935
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
denocrates.io | >= 2.2.0, < 2.2.5 | 2.2.5 |
deno_nodecrates.io | >= 0.129.0, < 0.134.0 | 0.134.0 |
Affected products
3- ghsa-coords2 versions
>= 2.2.0, < 2.2.5+ 1 more
- (no CPE)range: >= 2.2.0, < 2.2.5
- (no CPE)range: >= 0.129.0, < 0.134.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-8vxj-4cph-c596ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-48935ghsaADVISORY
- github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860ghsax_refsource_MISCWEB
- github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596ghsax_refsource_CONFIRMWEB
- rustsec.org/advisories/RUSTSEC-2025-0138.htmlghsaWEB
News mentions
0No linked articles in our index yet.