CVE-2025-58161 LOW

CVE-2025-58161: MobSF Path Traversal in GET /download/<filename> using absolute filenames

Vendor Mobsf
Product Mobile-Security-Framework-MobSF
Weakness CWE-22 · Path traversal
Published September 2, 2025
Last update September 2, 2025

CVSS base score

1.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 2, 2025 CVE published
September 2, 2025 Record updated

Related vulnerabilities

04Related CVE