Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-68923 EUVD-2026-61134GHSA-3p54-567p-2wprPYSEC-2026-3688

MobSF: CSRF checks not enforced after Django migration

Published Aug 18, 2026 · Updated Aug 19, 2026 · Assigned by GitHub_M

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 products

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

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mobsf < 4.5.1 4.5.1 GHSA-3p54-567p-2wpr

References