CVE-2026-33545 MobSF has SQL Injection in its SQLite Database Viewer Utils

Medium 5.3 Published Updated

An attacker can execute arbitrary SQL commands and cause denial of service by providing a malicious mobile app with a crafted SQLite database to MobSF.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-33545?

CVE-2026-33545 is a medium-severity SQL injection vulnerability in Mobile-Security-Framework-MobSF, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-89

Which versions are affected by CVE-2026-33545?

3 open source packages ship an affected version, including mobsf. It affects 1 product.

PackageAffectedFixed in
mobsf PyPIAll versions4.4.6
mobsf PyPIAll versions4.4.6
mobsf PyPIAll versions4.4.6

Products include Opensecurity Mobile Security Framework.

How do I fix CVE-2026-33545?

Upgrade mobsf to 4.4.6 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-33545 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33545 exists.

Sources

Also known as GHSA-hqjr-43r5-9q58, PYSEC-2026-2662.

Is CVE-2026-33545 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free