Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid MobSF API key
-
DeliveryCraft APK with DEFLATE-compressed member exceeding 400 MB
-
ExploitUpload via /api/v1/upload
-
InstallPer-file guard logs skip but extraction proceeds
-
C2Oversized file written to disk
-
ExecuteDisk exhausted
-
ImpactScan service rendered unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid MobSF API key or authenticated session - unauthenticated external attackers cannot trigger this without first obtaining credentials. The target instance must run MobSF prior to version 4.5.1. No special server-side configuration is required beyond a default MobSF deployment; any installation where the upload API is reachable and an API key is obtainable is vulnerable. Exploitation is bounded by available disk space: instances with generous free space or OS-level disk quotas on extraction directories are harder to exhaust but not immune, as repeated uploads compound the effect. The CVSS vector indicates no user interaction is required beyond the attacker's own upload action. |
| Impact | The official CVSS 3.1 score of 4.9 with PR:H reflects the authentication barrier, which appropriately limits exposure to users who already hold a valid MobSF API key. Availability impact is rated High because disk exhaustion prevents all further scan jobs, effectively taking the service offline. Attack complexity is Low - the advisory includes a complete, runnable proof-of-concept Python script requiring no special skills beyond a valid API key. EPSS data was not provided in the input data, so exploitation probability cannot be quantified. The vulnerability is absent from the CISA KEV catalog, indicating no confirmed widespread or targeted exploitation at time of analysis. The CVSS PR:H designation warrants scrutiny: MobSF's API key model grants upload capability to any authenticated user, not exclusively administrators, which is closer to PR:L in practice - a discrepancy analysts should verify against the specific deployment's access control model. There is no confidentiality or integrity impact, so the blast radius is strictly confined to availability of the scan service. Organizations exposing the MobSF API on shared internal networks without strict API key governance face meaningful disruption risk from insider threats or compromised accounts. |
| Exploit ScenarioDerived | An authenticated MobSF user crafts a ZIP or APK file containing a single member (e.g., assets/huge.bin) that decompresses to 450 MB but compresses to kilobytes via DEFLATE, then uploads it via the /api/v1/upload endpoint using the API key. MobSF logs 'File too large - Skipping' but unconditionally extracts the member to the uploads directory; repeated uploads or a ZIP with multiple such members rapidly exhaust available disk space. Once the filesystem is full, all subsequent scan jobs fail, taking the MobSF service offline. A complete proof-of-concept script is included in advisory GHSA-x768-8642-mmq9. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 18, 2026
Disk exhaustion via zip bomb bypass in MobSF prior to 4.5.1 allows any authenticated user to trigger uncontrolled resource consumption by uploading a crafted ZIP or APK whose member file exceeds 400 MB. The extraction function in shared_func.py logs a 'Skipping' warning but omits the continue statement, causing the oversized member to be written to disk regardless of the per-file size guard. A working proof-of-concept is embedded in the GitHub security advisory GHSA-x768-8642-mmq9; no public exploit has been identified at time of analysis and the vulnerability is not listed in the CISA KEV catalog.
RemediationAI
The primary fix is to upgrade to MobSF version 4.5.1, which corrects the missing continue statement in the per-file size check via commit 62563ca429a75b3e5d47a13b958e1d2e7d5e2bbf (PR #2627 at https://github.com/MobSF/Mobile-Security-Framework-MobSF/pull/2627). Install the patched release with 'pip install mobsf==4.5.1' or pull from https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.5.1. If an immediate upgrade is not feasible, apply OS-level disk quotas to the MobSF upload and extraction directories to bound the impact of any single extraction - note this may cause legitimate large-application scans to fail if quotas are set too aggressively. Additionally, restrict the /api/v1/upload endpoint to trusted networks via firewall rules or VPN enforcement, and audit which accounts hold active API keys to reduce the blast radius of a compromised credential. These compensating controls reduce likelihood and impact but do not eliminate the underlying logic flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MobSF (Mobile Security Framework) is a Python-based automated mobile application security testing platform that processes uploaded APK, IPA, and ZIP archives. The vulnerable code lives in mobsf/StaticAnalyzer/views/common/shared_func.py at lines 153-182, which implement ZIP/APK extraction via Python's zipfile module. Two size guards are present: ZIP_MAX_UNCOMPRESSED_FILE_SIZE (400 MB, per-file) and ZIP_MAX_UNCOMPRESSED_TOTAL_SIZE (aggregate). The per-file check at line 156 logs 'File too large - Skipping' and constructs a message but never issues a continue statement, so control falls through unconditionally to the zipptr.extract() call at line 182, writing the oversized file to disk. The aggregate check at line 161 can still raise an exception, but only after the oversized file is already extracted. Root cause is CWE-400 (Uncontrolled Resource Consumption) - a missing loop-control statement in a size gate. The affected CPE is cpe:2.3:a:mobsf:mobile-security-framework-mobsf:*:*:*:*:*:*:*:* for all pip-installable versions of 'mobsf' below 4.5.1.
Know when Mobile Security Framework Mobsf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Any API key holder (not only admins) can upload files, warranting PR:L; no confidentiality or integrity impact is present.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
MobSF is a mobile application security testing tool used. Prior to 4.5.1, the unzip function in mobsf/StaticAnalyzer/views/common/shared_func.py logs that an archive member exceeding ZIP_MAX_UNCOMPRESSED_FILE_SIZE is being skipped but does not continue to the next member, so an authenticated user can upload a crafted ZIP or APK whose oversized member is extracted to disk when the aggregate ZIP_MAX_UNCOMPRESSED_TOTAL_SIZE limit has not yet been reached, potentially exhausting disk space and preventing further scans. This issue is fixed in version 4.5.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Arbitrary file read via path traversal in MobSF prior to 4.5.1 allows authenticated users with scan-upload permissions t
Cross-site request forgery in MobSF prior to 4.5.1 enables a remote attacker to perform destructive authenticated action
SSRF port restriction bypass in MobSF (Mobile Security Framework) prior to 4.5.1 allows authenticated high-privilege use
EUVD-2026-61131
GHSA-x768-8642-mmq9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB