Vulnerabilities · 2025 · Opensecurity
CVE-2025-58161
Opensecurity Mobile Security Framework vulnerability
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.
Affected products
Mobile Security Framework. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Opensecurity Mobile Security Framework runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7 · Patch
- github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v · Exploit
- github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1
- github.com/advisories/GHSA-ccc3-fvfx-mw3v
- nvd.nist.gov/vuln/detail/CVE-2025-58161
- cve.org/CVERecord?id=CVE-2025-58161
More vulnerabilities in Opensecurity products
CVE-2025-58162CVE-2025-46730CVE-2025-46335CVE-2025-31116CVE-2025-24805CVE-2025-24804CVE-2025-24803CVE-2024-54000All 16
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.