Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-33545 EUVD-2026-16399GHSA-hqjr-43r5-9q58PYSEC-2026-2662

MobSF has SQL Injection in its SQLite Database Viewer Utils

Published Mar 26, 2026 · Updated Mar 27, 2026 · Assigned by GitHub_M

Description

MobSF is a mobile application security testing tool used. Prior to version 4.4.6, MobSF's `read_sqlite()` function in `mobsf/MobSF/utils.py` (lines 542-566) uses Python string formatting (`%`) 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 parameterization or escaping. This allows an attacker to cause denial of service and achieve SQL injection. Version 4.4.6 patches the issue.

Affected products

VendorProductAffectedFixed
MobSF Mobile-Security-Framework-MobSF < 4.4.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mobsf < 4.4.6 4.4.6 GHSA-hqjr-43r5-9q58

References