medium5.3
CVE-2026-33545
MobSF has SQL Injection in its SQLite Database Viewer Utils
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | mobsf | <= 4.4.5 | 4.4.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Opensecurity | Mobile Security Framework | before 4.4.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-hqjr-43r5-9q58
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-hqjr-43r5-9q58
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/6f8a43c1b78d21cfbd7186aaafa7f622d990e0f1
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.6
- https://nvd.nist.gov/vuln/detail/CVE-2026-33545