Auth bypass in Deno
CVE-2025-48935
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (38.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 38.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.000
Affected products
- Deno
- Denoland Deno — versions >= 2.2.0, < 2.2.5
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596 (Exploit, Vendor Advisory)
- github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860 (Patch)
Frequently asked questions
- What is CVE-2025-48935?
- CVE-2025-48935 is a critical-severity vulnerability in Deno, classified under Incorrect Authorization. CVSS score: 9.1/10. Published 2025-06-04.
- How severe is CVE-2025-48935?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2025-48935 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.