CVE-2025-48935 json
Deno has --allow-read / --allow-write permission bypass in `node:sqlite`
published 2025-06-03 17 mo ago modified 2026-10-12 27 d ago also EUVD-2025-16915 , GHSA-8vxj-4cph-c596 , RUSTSEC-2025-0138
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
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.
Patch / fix
- crates.io deno 2.2.5
- crates.io deno_node 0.134.0
- deno deno 2.2.5
- deno deno_node 0.134.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 4.0 | 5.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | deno | >=2.2.0, <2.2.5 |
2.2.5 |
| crates.io | deno_node | >=0.129.0, <0.134.0 |
0.134.0 |
Affected products
- denoland deno
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860
web, patch
-
github.com
/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-48935
advisory
-
github.com
/denoland/deno
package
-
rustsec.org
/advisories/RUSTSEC-2025-0138.html
web, advisory
-
crates.io
/crates/deno
package
Sources
- CVE List CVE-2025-48935
- GitHub Advisory GHSA-8vxj-4cph-c596
- NVD CVE-2025-48935
- OSV RUSTSEC-2025-0138
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.