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

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-03T12:00:00.000Z
- Modified: 2026-10-12T18:00:13.056Z
- Also known as: GHSA-8vxj-4cph-c596, RUSTSEC-2025-0138
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- denoland deno: >= 2.2.0, < 2.2.5
- deno (crates.io): from 2.2.0 before 2.2.5
- deno_node (crates.io): from 0.129.0 before 0.134.0
- deno deno: from 2.2.0 before 2.2.5

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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: CVSS:3.1 9.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `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`
- RustSec Advisory Database: CVSS:4.0 `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`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596> (exploit, vendor-advisory, web)
- <https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48935> (advisory)
- <https://github.com/denoland/deno> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0138.html> (advisory, web)
- <https://crates.io/crates/deno> (package)

## Sources

- CVE List: [CVE-2025-48935](https://www.cve.org/CVERecord?id=CVE-2025-48935), CVE Terms of Use, modified 2025-06-04
- GitHub Advisory Database: [GHSA-8vxj-4cph-c596](https://github.com/advisories/GHSA-8vxj-4cph-c596), CC-BY-4.0, modified 2026-02-03
- RustSec Advisory Database: [RUSTSEC-2025-0138](https://rustsec.org/advisories/RUSTSEC-2025-0138.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2025-48935](https://nvd.nist.gov/vuln/detail/CVE-2025-48935), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48935 · Whole record: https://cve.day/CVE-2025-48935.json · Rebuilt by cve.day 2026-11-25T22:58:58.762Z
