BreachSpiderVerified, not vibes

CVE-2025-48935 in Deno

Critical 9.1 Fix available

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
CVSS v45.5
EPSS0.8%
EPSS percentile51th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Deno Deno ≥ 2.2.0, < 2.2.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-48935
BreachSpider IDBS-2025-GLOBAL-246005-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2025-06-04
Last modified2025-07-02
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

A vulnerability in Deno versions 2.2.0 to 2.2.4 allows attackers to bypass the runtime's permission checks for reading and writing to databases using the `ATTACH DATABASE` SQL statement.

An attacker can exploit this vulnerability by executing a specially crafted SQL command that attaches a database file, potentially allowing unauthorized access or modification of the database without the necessary permissions.

Questions

What is CVE-2025-48935?

A vulnerability in Deno versions 2.2.0 to 2.2.4 allows attackers to bypass the runtime's permission checks for reading and writing to databases using the `ATTACH DATABASE` SQL statement.

What is the CVSS score for CVE-2025-48935?

CVE-2025-48935 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.8%.

Is CVE-2025-48935 actively exploited?

No confirmed active exploitation of CVE-2025-48935 as of 2026-05-30.

How do I remediate CVE-2025-48935?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2025-48935?

CVE-2025-48935 affects Deno Deno.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Deno","product":"Deno","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-07-02.