Paper/Archive/CVE-2025-48935

CVE-2025-48935

denoland deno — Deno has --allow-read / --allow-write permission bypass in `node:sqlite`

Description · from the CVE record

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

ProductAffectedFixed inSource
deno>= 2.2.0, < 2.2.5–CNA

Scores by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub_M (CNA)5.5CVSS: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
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: partial

References

refgithub.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596refgithub.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860