Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-48935

CVE-2025-48935: Deno Auth Bypass Vulnerability

CVE-2025-48935 is an authorization bypass vulnerability in Deno runtime that allows attackers to bypass permission checks using ATTACH DATABASE statements. This article covers technical details, affected versions, and patches.

Published: March 24, 2026

CVE-2025-48935 Overview

CVE-2025-48935 is an authorization bypass vulnerability in the Deno runtime environment for JavaScript, TypeScript, and WebAssembly. This security flaw allows attackers to circumvent Deno's permission-based security model, specifically bypassing read/write database permission checks through the use of the ATTACH DATABASE SQL statement.

Deno is designed with a security-first approach, implementing a granular permission system that restricts access to filesystem, network, and other sensitive resources. This vulnerability undermines that security model by providing an unexpected pathway to access database resources without the required permissions.

Critical Impact

Attackers can bypass Deno's permission security model to read and write database files without authorization, potentially leading to unauthorized data access, modification, or exfiltration.

Affected Products

  • Deno versions 2.2.0 through 2.2.4
  • Applications using Deno with SQLite database functionality
  • Systems relying on Deno's permission model for database access control

Discovery Timeline

  • June 4, 2025 - CVE-2025-48935 published to NVD
  • July 2, 2025 - Last updated in NVD database

Technical Details for CVE-2025-48935

Vulnerability Analysis

This vulnerability is classified as CWE-863 (Incorrect Authorization), indicating a fundamental flaw in how Deno validates permissions for database operations. The core issue lies in an incomplete permission check when handling the SQLite ATTACH DATABASE command.

Deno's permission system is designed to require explicit authorization before an application can read or write to files on the filesystem. However, the ATTACH DATABASE statement provides a mechanism to associate additional database files with an existing SQLite connection. The permission validation logic failed to properly intercept and validate this specific database operation path.

When an attacker uses ATTACH DATABASE, they can specify an arbitrary file path to attach as a secondary database. Since the permission check was not implemented for this code path, the operation succeeds regardless of whether the application has been granted the appropriate --allow-read or --allow-write permissions.

Root Cause

The root cause of this vulnerability is incomplete permission enforcement in Deno's SQLite integration layer. When the ATTACH DATABASE statement is executed, the runtime fails to invoke its standard filesystem permission checks before allowing the database file operation. This represents a gap in the security boundary where the permission model was not applied consistently across all database-related operations.

The vulnerability stems from an assumption that all file access would go through monitored code paths, overlooking the fact that SQLite's ATTACH DATABASE functionality creates an alternative route to filesystem access.

Attack Vector

The attack vector is network-based and requires no user interaction or special privileges. An attacker can exploit this vulnerability in scenarios where:

  1. A Deno application processes user-controlled SQL queries or database operations
  2. The application is intentionally run with restricted permissions to limit file access
  3. The attacker crafts a malicious ATTACH DATABASE statement targeting sensitive files

The vulnerability can be exploited by constructing SQL statements that leverage ATTACH DATABASE to access files outside the intended permission scope. For example, an attacker could attach a database file in a protected directory that the application should not have access to, then query or modify its contents.

For detailed technical information and the specific code changes, see the GitHub Security Advisory and the patch commit.

Detection Methods for CVE-2025-48935

Indicators of Compromise

  • Unexpected ATTACH DATABASE statements in application logs or SQL query logs
  • Database connections accessing files outside designated data directories
  • SQLite operations on files that should be protected by permission restrictions
  • Anomalous file access patterns from Deno processes running with limited permissions

Detection Strategies

  • Implement SQL query logging and monitoring for ATTACH DATABASE statements
  • Review Deno application logs for permission-related warnings or unexpected database operations
  • Conduct code audits to identify any user-controlled input that could influence database operations
  • Deploy file integrity monitoring on sensitive database files and directories

Monitoring Recommendations

  • Enable verbose logging for Deno applications processing database operations
  • Monitor filesystem access patterns from Deno runtime processes
  • Set up alerts for SQL statements containing ATTACH or DETACH keywords
  • Implement application-level query filtering as a defense-in-depth measure

How to Mitigate CVE-2025-48935

Immediate Actions Required

  • Upgrade Deno to version 2.2.5 or later immediately
  • Audit all Deno applications for potential exposure to user-controlled SQL queries
  • Review and restrict network access to affected applications until patched
  • Implement input validation to sanitize or reject ATTACH DATABASE statements at the application level

Patch Information

The Deno development team has addressed this vulnerability in version 2.2.5. The fix ensures that proper permission checks are enforced when processing ATTACH DATABASE statements, closing the authorization bypass path.

The patch commit can be reviewed at the official Deno repository. Organizations should update to the patched version through their standard package management process.

Workarounds

  • Implement application-level filtering to block or sanitize SQL statements containing ATTACH DATABASE
  • Run affected applications in isolated environments with additional filesystem restrictions
  • Use database connection wrappers that intercept and validate all SQL statements before execution
  • Deploy network segmentation to limit the exposure of vulnerable Deno applications
bash
# Upgrade Deno to patched version
deno upgrade --version 2.2.5

# Verify installed version
deno --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDeno

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Vendor Resources
  • GitHub Deno Commit

  • GitHub Security Advisory GHSA-8vxj-4cph-c596
  • Related CVEs
  • CVE-2026-22864: Deno Auth Bypass Vulnerability

  • CVE-2026-32260: Deno Runtime RCE Vulnerability

  • CVE-2026-27190: Deno Runtime Command Injection RCE Flaw

  • CVE-2026-22863: Deno Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English