Home

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.

PUBLISHED Reserved 2025-08-27 | Published 2025-09-02 | Updated 2025-09-02 | Assigner GitHub_M




LOW: 1.3CVSS: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:U

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

= 4.4.0
affected

References

github.com/...-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v

github.com/...ommit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9

github.com/...e-Security-Framework-MobSF/releases/tag/v4.4.1

cve.org (CVE-2025-58161)

nvd.nist.gov (CVE-2025-58161)

Download JSON