Skip to main content
← All vulnerabilities
CVE-2025-58161PYSEC-2026-1672GHSA-CCC3-FVFX-MW3V

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MobSF Mobile-Security-Framework-MobSF

    4.4.0

  • mobsfPyPI

    fixed in 4.4.1

References 3

GitHub · MobSF/Mobile-Security-Framework-MobSF