CVE-2025-58161

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductOpensecurity Mobile Security Framework
PublishedSep 2, 2025
First seenSep 2, 2025

How to fix

Update
  • mobsf4.4.1 or later

Affected products

ProductAffected versionsFixed in
opensecurity mobile_security_framework4.4.0—
mobsfPyPIv < 4.4.14.4.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.