CVE-2025-58161: Mobile-Security-Framework-MobSF · Path Traversal
Affects Mobile-Security-Framework-MobSFSource CVE Database V5
Not known to be exploited · CVSS 1.3 Low · fixed in 4.4.1 : update Mobile-Security-Framework-MobSF when convenient.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.4.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:UExploitation evidence
Disclosed: evidence found.
CVE published 2 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MobSF Mobile-Security-Framework-MobSF | Affected
| Fixed in– |
AI-suggested
European organizations should upgrade MobSF installations from version 4.4.0 to 4.4.1 or later, where the vulnerability is patched. Until upgrade is possible, restrict access to the MobSF application strictly to trusted personnel and enforce strong authentication mechanisms to reduce the risk of credential compromise. Implement network segmentation to isolate MobSF servers from broader enterprise networks and sensitive data repositories. Conduct audits of file system permissions to ensure that directories adjacent to the download directory do not contain sensitive files accessible by MobSF users. Additionally, review and enhance logging and monitoring around file download activities to detect anomalous access patterns indicative of exploitation attempts. Security teams should educate users about the risks of credential sharing and enforce multi-factor authentication to further mitigate unauthorized access. Finally, consider deploying Web Application Firewalls (WAFs) with rules to detect and block suspicious path traversal patterns in HTTP requests targeting the download endpoint.
Description
MobSF is a mobile application security testing tool used. In version 4.4.0, the GET /download/ route uses string path verification via os.path.commonprefix, which allows an authenticated user to download files outside the DWD_DIR download directory from "neighboring" directories whose absolute paths begin with the same prefix as DWD_DIR (e.g., .../downloads_bak, .../downloads.old). This is a Directory Traversal (escape) leading to a data leak. This issue has been patched in version 4.4.1.
References
- github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v (opens in a new tab)
- github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9 (opens in a new tab)
- github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1 (opens in a new tab)