Deno has --allow-read / --allow-write permission bypass in `node:sqlite`
Priority MEDIUM 58CWE-863Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00488 42nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed deno (denoland): 2.2.5deno (crates.io): 2.2.5+1 more product
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| denoland | deno | 2.2.0 to before 2.2.5 | 2.2.5 | Patch available | CNA |
| — | deno (crates.io) | 2.2.0 to before 2.2.5 | 2.2.5 | Patch available | GHSA-8vxj-4cph-c596 |
| — | deno_node (crates.io) | 0.129.0 to before 0.134.0 | 0.134.0 | Patch available | GHSA-8vxj-4cph-c596 |
- deno Vendordenoland Affected 2.2.0 to before 2.2.5 Fixed in 2.2.5 Patch available CNA
- deno (crates.io) Vendor— Affected 2.2.0 to before 2.2.5 Fixed in 2.2.5 Patch available GHSA-8vxj-4cph-c596
- deno_node (crates.io) Vendor— Affected 0.129.0 to before 0.134.0 Fixed in 0.134.0 Patch available GHSA-8vxj-4cph-c596
Remediation
- Fix · CNA deno (denoland) Fixed in 2.2.5
- Fix · GHSA-8vxj-4cph-c596 deno (crates.io) Fixed in 2.2.5 Advisory →
- Fix · GHSA-8vxj-4cph-c596 deno_node (crates.io) Fixed in 0.134.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-48935
- 2026-10-03 Alias added: GHSA-8vxj-4cph-c596
References
More denoland Deno vulnerabilities
- TI-2026-21627 Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process CVSS 3.1CRITICAL 9.8
- TI-2025-17782 Deno's AES GCM authentication tags are not verified CVSS 4.0HIGH 7.7
- TI-2024-18537 *const c_void / ExternalPointer unsoundness leading to use-after-free CVSS 3.1HIGH 8.8
- TI-2024-18536 Deno arbitrary file descriptor close via `op_node_ipc_pipe()` leading to permission prompt bypass CVSS 3.1HIGH 8.8
- TI-2023-12990 Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization CVSS 3.1HIGH 8.8
- TI-2023-11328 Regular expression denial of service in deno CVSS 3.1HIGH 7.5
Sources
- CVE-2025-48935 · CVE Program
- CVE-2025-48935 · NVD
- FIRST EPSS
- GHSA-8vxj-4cph-c596 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences