Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M
CVE-2026-68923MobSF: CSRF checks not enforced after Django migration
Medium 6.5
In plain English
A medium-severity cross-site request forgery in Mobile-Security-Framework-MobSF from MobSF. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
MobSF is a mobile application security testing tool used. Prior to 4.5.1, mobsf/MobSF/settings.py places django.middleware.csrf.CsrfViewMiddleware only in the deprecated MIDDLEWARE_CLASSES setting and omits it from the active MIDDLEWARE tuple, allowing a remote attacker to make a logged-in victim submit cross-site POST requests to authenticated web endpoints including /delete_scan/, /upload/, /download_scan/, /change_password/, /create_user/, and /delete_user/. This can delete scans, upload or download applications, change passwords, or manage users with the victim account permissions. This issue is fixed in version 4.5.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | mobsf | 4.5.1 | GHSA-3p54-567p-2wpr |
| PyPI | mobsf | 4.5.1 | PYSEC-2026-3688 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MobSF | Mobile-Security-Framework-MobSF | < 4.5.1 |
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-3p54-567p-2wpr x_refsource_CONFIRM
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/pull/2627 x_refsource_MISC
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/62563ca429a75b3e5d47a13b958e1d2e7d5e2bbf x_refsource_MISC
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.5.1 x_refsource_MISC