The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2026-33545

CVE-2026-33545: MobSF SQL Injection Vulnerability

CVE-2026-33545 is a SQL injection flaw in MobSF's read_sqlite() function that allows attackers to execute malicious SQL via crafted database table names. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33545 Overview

CVE-2026-33545 is a SQL Injection vulnerability affecting MobSF (Mobile Security Framework), a widely-used open-source mobile application security testing tool. The vulnerability exists in the read_sqlite() function within mobsf/MobSF/utils.py (lines 542-566), where Python string formatting (%) is used to construct SQL queries with table names read from a SQLite database's sqlite_master table. When a security analyst uses MobSF to analyze a malicious mobile application containing a crafted SQLite database, attacker-controlled table names are interpolated directly into SQL queries without proper parameterization or escaping. This allows an attacker to cause denial of service and achieve SQL injection.

Critical Impact

Security researchers and analysts using MobSF to analyze potentially malicious mobile applications could be compromised through specially crafted SQLite databases embedded within those applications, turning a security tool into an attack vector.

Affected Products

  • MobSF (Mobile Security Framework) versions prior to 4.4.6

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-33545 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33545

Vulnerability Analysis

This vulnerability represents a classic SQL Injection flaw (CWE-89) occurring in a security analysis tool. The root cause lies in how MobSF processes SQLite databases embedded within mobile applications during security analysis. When the read_sqlite() function reads table names from the sqlite_master system table of an analyzed database, these table names are directly interpolated into subsequent SQL queries using Python's % string formatting operator rather than parameterized queries.

The attack is particularly insidious because it targets security professionals who are actively analyzing potentially malicious applications. An attacker could distribute a mobile application containing a SQLite database with malicious table names. When a security analyst loads this application into MobSF for analysis, the SQL injection payload executes automatically.

Root Cause

The vulnerability stems from improper input validation in the SQL query construction process. The read_sqlite() function in mobsf/MobSF/utils.py trusts table names extracted from user-supplied SQLite databases and uses Python string formatting to build SQL queries. Table names retrieved from sqlite_master are not sanitized, allowing SQL metacharacters embedded in table names to break out of the intended query context.

Attack Vector

The attack vector requires network access with high attack complexity. An attacker must craft a malicious mobile application containing a SQLite database with specially crafted table names that include SQL injection payloads. The victim must then use MobSF to analyze this malicious application. When MobSF's read_sqlite() function processes the database, it extracts table names from sqlite_master and interpolates them directly into SQL queries, executing the attacker's payload.

The security patch addresses multiple injection vectors by sanitizing input patterns:

python
def class_pattern(pattern):
    """Search in loaded classes based on pattern."""
    pattern = pattern.replace(
-        '/', '\\/').replace(';', '')
+        '/', '\\/').replace(';', '').replace('\n', '').replace('\r', '')
    content = get_content('search_class_pattern.js')
    return content.replace('{{PATTERN}}', pattern)

Source: GitHub Commit Update

The patch also introduces path traversal protection with a dedicated exception handler:

python
from mobsf.MalwareAnalyzer.views.MalwareDomainCheck import (
    MalwareDomainCheck,
)
+from mobsf.MobSF.exceptions import PathTraversalError
from mobsf.MobSF.utils import (
    EMAIL_REGEX,
    URL_REGEX,

Source: GitHub Commit Update

Detection Methods for CVE-2026-33545

Indicators of Compromise

  • Mobile applications containing SQLite databases with unusual or malformed table names containing SQL metacharacters (semicolons, quotes, comments)
  • Database table names containing newline or carriage return characters (\n, \r)
  • SQLite databases with table names exceeding normal length limits or containing encoded payloads

Detection Strategies

  • Monitor MobSF application logs for SQL errors or unexpected query patterns during mobile app analysis
  • Implement pre-analysis scanning of SQLite databases for suspicious table name patterns before processing
  • Review analyzed mobile applications for embedded databases with anomalous structures

Monitoring Recommendations

  • Enable verbose logging in MobSF to capture SQL query execution during analysis sessions
  • Set up alerts for database errors or exceptions occurring during mobile application analysis
  • Implement file integrity monitoring on MobSF installation directories to detect any unauthorized modifications

How to Mitigate CVE-2026-33545

Immediate Actions Required

  • Upgrade MobSF to version 4.4.6 or later immediately
  • Review any mobile applications recently analyzed with vulnerable MobSF versions for potential malicious SQLite databases
  • Isolate MobSF instances in sandboxed environments to limit potential blast radius

Patch Information

The MobSF development team has released version 4.4.6 which patches this vulnerability. The fix implements proper input sanitization and introduces additional security hardening measures including path traversal protection. Security professionals should upgrade to the patched version by pulling the latest release from the official GitHub repository.

For detailed information about the fix, refer to the GitHub Security Advisory GHSA-hqjr-43r5-9q58 and the security commit.

Workarounds

  • Run MobSF in an isolated container or virtual machine environment to contain potential exploitation
  • Pre-screen SQLite databases extracted from mobile applications for suspicious table names before allowing MobSF analysis
  • Restrict network access for MobSF instances to minimize attack surface until patching is complete
bash
# Example: Running MobSF in Docker for isolation
docker pull opensecurity/mobile-security-framework-mobsf:v4.4.6
docker run -it --rm -p 8000:8000 opensecurity/mobile-security-framework-mobsf:v4.4.6

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechMobsf

  • SeverityMEDIUM

  • CVSS Score5.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Commit Update

  • GitHub Release v4.4.6

  • GitHub Security Advisory GHSA-hqjr-43r5-9q58
  • Related CVEs
  • CVE-2026-24490: MobSF Stored XSS Vulnerability
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