Skip to content

CVE-2026-68923 MobSF: CSRF checks not enforced after Django migration

MediumCVSS 6.5 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi mobsf(PyPI) < 4.5.1; = 3.2.6; = 3.2.7; = 3.2.8 +17 more 4.5.1 Fixed
MobSF Mobile-Security-Framework-MobSF = < 4.5.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi mobsf(PyPI) < 4.5.1 4.5.1
pypi mobsf(PyPI) = 3.2.6 No fix listed
pypi mobsf(PyPI) = 3.2.7 No fix listed
pypi mobsf(PyPI) = 3.2.8 No fix listed
pypi mobsf(PyPI) = 3.2.9 No fix listed
pypi mobsf(PyPI) = 3.3.3 No fix listed
pypi mobsf(PyPI) = 3.3.5 No fix listed
pypi mobsf(PyPI) = 3.4.0 No fix listed
pypi mobsf(PyPI) = 3.4.3 No fix listed
pypi mobsf(PyPI) = 3.4.6 No fix listed
pypi mobsf(PyPI) = 3.5.0 No fix listed
pypi mobsf(PyPI) = 3.6.0 No fix listed
pypi mobsf(PyPI) = 3.6.9 No fix listed
pypi mobsf(PyPI) = 3.7.6 No fix listed
pypi mobsf(PyPI) = 3.9.7 No fix listed
pypi mobsf(PyPI) = 4.1.3 No fix listed
pypi mobsf(PyPI) = 4.3.0 No fix listed
pypi mobsf(PyPI) = 4.3.2 No fix listed
pypi mobsf(PyPI) = 4.4.0 No fix listed
pypi mobsf(PyPI) = 4.4.2 No fix listed
pypi mobsf(PyPI) = 4.4.5 No fix listed
MobSF Mobile-Security-Framework-MobSF = < 4.5.1 No fix listed

References