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
Configurations
History
No history.
Information
Published : 2025-09-02 01:15
Updated : 2025-09-03 15:48
NVD link : CVE-2025-58161
Mitre link : CVE-2025-58161
CVE.ORG link : CVE-2025-58161
JSON object : View
Products Affected
opensecurity
- mobile_security_framework
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
