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.
History

Tue, 02 Sep 2025 01:15:00 +0000

Type Values Removed Values Added
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.
Title MobSF Path Traversal in GET /download/<filename> using absolute filenames
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 1.3, 'vector': 'CVSS: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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-09-02T00:45:49.996Z

Reserved: 2025-08-27T13:34:56.186Z

Link: CVE-2025-58161

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-09-02T01:15:30.170

Modified: 2025-09-02T01:15:30.170

Link: CVE-2025-58161

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.