Path Traversal in Mobsf Mobile-Security-Framework-Mobsf
CVE-2025-58161
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 58.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mobsf Mobile-Security-Framework-Mobsf — versions = 4.4.0
- Opensecurity Mobile Security Framework — versions 4.4.0
Weakness classification (CWE)
References
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v (Exploit, Third Party Advisory)
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9 (Patch)
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1 (Release Notes)