Zip Slip Vulnerability in Mobile Security Framework (MobSF)
Summary
CVE-2024-43399: Mobile Security Framework (MobSF) has a Zip Slip Vulnerability in .a Static Library Files. Affects mobsf versions < 4.0.7. Fixed in 4.0.7. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Mobile Security Framework (MobSF) is an open-source tool used for mobile app security testing and analysis. It provides various features such as static and dynamic analysis, malware analysis, and forensic analysis for Android and iOS applications. MobSF is widely used by developers and security professionals to identify vulnerabilities and secure mobile applications.
Vulnerability Detail
The Zip Slip vulnerability in MobSF allows an attacker to extract files to any desired location within the server running MobSF. This vulnerability arises from a flaw in the Static Libraries analysis section of MobSF. The implemented measure to prevent Zip Slip attacks is improperly implemented and can be bypassed using specific sequences. By exploiting this vulnerability, an attacker can write files to upper directories, potentially leading to the deletion of critical files or achieving remote code execution (RCE) by overwriting binaries or system files.
How To Fix
Latest published version: 4.5.3 as of 23 Oct 2026
pip install --upgrade "mobsf==4.5.3"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
4.0.7
This is the first release that contains the fix.
pip install --upgrade "mobsf==4.0.7"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to update MobSF to the latest version to mitigate the risk.
Conclusion
The Zip Slip vulnerability in MobSF poses a significant risk to the security of mobile app testing and analysis. By updating to the latest version of MobSF (4.0.7 or later), users can mitigate this vulnerability and ensure the safe and secure analysis of mobile applications.
See every vulnerability recorded for mobsf →
FAQ
MobSF is an open-source mobile app security testing and analysis tool used for static and dynamic analysis, malware analysis, and forensic analysis of Android and iOS applications.
The Zip Slip vulnerability allows an attacker to extract files to any location on the server running MobSF. This can lead to the deletion of critical files or remote code execution by overwriting binaries or system files.
To fix the vulnerability, update MobSF to version 4.0.7 or later. This update includes proper implementation of measures to prevent Zip Slip attacks.
No, there is no known workaround for this vulnerability. It is essential to update MobSF to the latest version.
Yes, you can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, including the Zip Slip vulnerability in MobSF.
References
Related vulnerabilities
Recent vulnerabilities recorded for mobsf.