Skip to content
OpenAdvisories
Low · 1.3 CVE-2025-58161 EUVD-2025-26369GHSA-ccc3-fvfx-mw3vPYSEC-2026-1672

MobSF Path Traversal in GET /download/<filename> using absolute filenames

Published Sep 2, 2025 · Updated Sep 2, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
MobSF Mobile-Security-Framework-MobSF = 4.4.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mobsf < 4.4.1 4.4.1 GHSA-ccc3-fvfx-mw3v

References