CVE-2025-58161

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

Configuration 1 (hide)

cpe:2.3:a:opensecurity:mobile_security_framework:4.4.0:*:*:*:*:*:*:*

History

19 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) MobSF es una herramienta utilizada para pruebas de seguridad de aplicaciones móviles. En la versión 4.4.0, la ruta GET /download/ utiliza la verificación de rutas de cadena a través de os.path.commonprefix, lo que permite a un usuario autenticado descargar archivos fuera del directorio de descarga DWD_DIR desde directorios 'vecinos' cuyas rutas absolutas comienzan con el mismo prefijo que DWD_DIR (p. ej., .../downloads_bak, .../downloads.old). Esto es un salto de directorio (escape) que conduce a una fuga de datos. Este problema ha sido parcheado en la versión 4.4.1.

03 Sep 2025, 15:48

Type Values Removed Values Added
References () https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9 - () https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9 - Patch
References () https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1 - () https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1 - Release Notes
References () https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v - () https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v - Exploit, Third Party Advisory
First Time Opensecurity
Opensecurity mobile Security Framework
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.3
CPE cpe:2.3:a:opensecurity:mobile_security_framework:4.4.0:*:*:*:*:*:*:*

02 Sep 2025, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-02 01:15

Updated : 2026-10-19 17:10


NVD link : CVE-2025-58161

Mitre link : CVE-2025-58161

CVE.ORG link : CVE-2025-58161


JSON object : View

Products Affected

opensecurity

  • mobile_security_framework
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')