Skip to main content

MobSF CVE-2026-68922

| EUVDEUVD-2026-61132 MEDIUM
Path Traversal (CWE-22)
2026-08-18 GitHub_M GHSA-8j49-mmcx-4mp5
5.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to MobSF with scan-upload credentials
  2. Delivery
    Craft ZIP with path-traversal android:icon value
  3. Exploit
    Compute MD5 of crafted archive locally
  4. Execution
    Upload archive via MobSF scan endpoint
  5. Persist
    MobSF copies traversed server file to DWD_DIR as <md5>-icon.<ext>
  6. Impact
    Retrieve exfiltrated file via GET /download/<md5>-icon.<ext>

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated MobSF session with scan-upload permissions, enforced by the @login_required and @permission_required(Permissions.SCAN) decorators - unauthenticated access is not possible. The target file's extension must appear in MobSF's ALLOWED_EXTENSIONS allowlist; files with disallowed extensions cannot be retrieved via the /download/ endpoint (though they can be detected via the file-existence oracle in icon_path). The attacker must be able to submit Android archive uploads through the MobSF scan interface. No non-default configuration is required beyond normal authenticated access - the vulnerability is present in any default MobSF deployment processing Android APK or ZIP files. Exploitation is constrained by the OS-level file permissions of the MobSF process user; files unreadable by that process cannot be traversed. The deterministic output filename requires the attacker to know or compute the MD5 of their uploaded archive, which is trivially achievable locally before upload.

Impact

The CVSS 3.1 score of 5.5 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N) accurately reflects the primary gating factor: exploitation requires a legitimately authenticated session with scan-upload privileges, which confines the realistic threat actor to insiders, compromised accounts, or shared-platform users - not anonymous external attackers. The high confidentiality impact (C:H) is partially offset by the ALLOWED_EXTENSIONS constraint, meaning raw private keys, certificates, or binaries without a whitelisted extension cannot be exfiltrated via the download endpoint, though the file-existence oracle side-channel is unconstrained by extension. No EPSS score was provided in the available data, so probabilistic exploitation likelihood cannot be quantified from this source. No CISA KEV listing is present, indicating no confirmed widespread active exploitation at time of analysis. However, a functional PoC is embedded in the public GHSA advisory, which lowers exploitation effort to near-zero for any authenticated user aware of the issue. MobSF is commonly deployed as a shared internal analysis platform or CI/CD integration node, where multiple team members hold upload permissions, broadening the effective attack surface within the trust boundary. The combination of public PoC, deterministic output filename, and network-accessible download endpoint means that any authenticated user - including contractors or junior analysts - can reliably exfiltrate allowlisted server files without elevated OS privileges beyond the MobSF application account.

Exploit ScenarioDerived

An authenticated MobSF user constructs a ZIP archive containing an AndroidManifest.xml in which the android:icon attribute is set to 'res/../../../signatures/maltrail-malware-domains.txt', computes the MD5 of the archive locally, and uploads it through the standard scan interface. MobSF's find_icon_path_zip() resolves the traversal path, finds the target file, and copies it to DWD_DIR as '<md5>-icon.txt'. The attacker immediately retrieves the file contents via GET /download/<md5>-icon.txt. A complete PoC script generating the malicious archive is publicly available in the GHSA-8j49-mmcx-4mp5 advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

Arbitrary file read via path traversal in MobSF prior to 4.5.1 allows authenticated users with scan-upload permissions to exfiltrate server-side files by embedding traversal sequences in the android:icon attribute of a crafted AndroidManifest.xml inside a ZIP or APK upload. The vulnerable find_icon_path_zip() function resolves the attacker-controlled icon path without containment checks, copies the target file to a predictable location in DWD_DIR, and exposes it through the /download/ endpoint. A fully functional proof-of-concept script is publicly available in the GHSA advisory; this issue is not listed in the CISA KEV catalog.

RemediationAI

Upgrade MobSF to version 4.5.1 or later - confirmed fix release per vendor GitHub tag at https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.5.1 and implemented via commit 62563ca429a75b3e5d47a13b958e1d2e7d5e2bbf (PR #2627 at https://github.com/MobSF/Mobile-Security-Framework-MobSF/pull/2627). Version 4.5.1 also addresses three co-released vulnerabilities: an SSRF port restriction bypass (GHSA-95px-34x5-p37h), a Zip Bomb DoS (GHSA-x768-8642-mmq9), and a CSRF regression (GHSA-3p54-567p-2wpr), making the upgrade urgent on multiple grounds. As a pre-patch compensating control, restrict MobSF upload permissions to the minimum set of trusted accounts - since PR:H is required, reducing the authorized user pool directly reduces exposure. Network-isolating the MobSF instance (firewall rules preventing access to its port from untrusted network segments) prevents exploitation by external actors who might gain account credentials. Monitoring the /download/ endpoint for requests matching the pattern '<md5>-icon.<ext>' where the extension is unexpected for normal icon files (e.g., .txt, .conf, .log) can serve as an exploitation detection signal. These controls do not eliminate the vulnerability and should not substitute for patching.

Affected VersionsENISA

Mobile-Security-Framework-MobSF < 4.5.1

Affected Packages

pypi mobsf fix: 4.5.1
euvd mobile_security_framework_mobsf fix: 4.5.1

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 parses AndroidManifest.xml during static analysis of uploaded Android archives to extract metadata including the android:icon attribute. The vulnerable function find_icon_path_zip() in mobsf/StaticAnalyzer/views/android/icon_analysis.py uses strip('/res') - which does not correctly normalize either the 'res/' or '/res/' prefix - and then calls os.path.join() with the unsanitized remainder, enabling path traversal. An icon value such as 'res/../../../signatures/maltrail-malware-domains.txt' resolves outside the scan directory. The resolved file is then copied to DWD_DIR with the deterministic filename '<md5>-icon.<ext>', where md5 is the SHA-based hash of the uploaded archive that the attacker can compute locally before uploading. The file is then retrievable via GET /download/<md5>-icon.<ext>. A secondary information-disclosure primitive exists: the icon_path field in the analysis report reflects whether the traversal target existed, functioning as a file-existence oracle even when the extension is not in ALLOWED_EXTENSIONS. Root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): AndroidManifest.xml values are treated as trusted input for filesystem operations without realpath-based containment verification. CPE affected: cpe:2.3:a:mobsf:mobile-security-framework-mobsf:*:*:*:*:*:*:*:*.

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

Vendor (GitHub_M) PRIMARY 5.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 5.5 MEDIUM

Requires authenticated scan-upload session (PR:H); file read constrained by ALLOWED_EXTENSIONS but yields high confidentiality impact; file copy to DWD_DIR is a minor integrity side-effect (I:L); no availability impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Aug 18, 2026 - 19:04 EUVD
CVE Published
Aug 18, 2026 - 17:47 cve.org
MEDIUM 5.5

DescriptionCVE.org

MobSF is a mobile application security testing tool used. Prior to 4.5.1, find_icon_path_zip in mobsf/StaticAnalyzer/views/android/icon_analysis.py uses the Android manifest android:icon value to construct paths under the scan resource directory without rejecting traversal or verifying containment, allowing an authenticated user to upload a crafted ZIP or APK that reads a server file with an ALLOWED_EXTENSIONS suffix, copies it to DWD_DIR as the predictable name -icon., and retrieves it through the /download/ endpoint. The same behavior provides a file-existence oracle through the icon_path report field. This issue is fixed in version 4.5.1.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche security tooling used primarily by mobile app security teams
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy