Low severityNVD Advisory· Published Sep 2, 2025· Updated Sep 2, 2025
MobSF Path Traversal in GET /download/<filename> using absolute filenames
CVE-2025-58161
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mobsfPyPI | < 4.4.1 | 4.4.1 |
Affected products
1- Range: = 4.4.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-ccc3-fvfx-mw3vghsaADVISORY
- github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9ghsax_refsource_MISCWEB
- github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1ghsax_refsource_MISCWEB
- github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3vghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.