CVE-2025-58161CWE-22path-traversal

CVE-2025-58161

Medium · published September 2, 2025

CVSS v3.1
4.3
EPSS
1%
Percentile
56.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00821 · 56.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-09-02T05:15Z
Affected products (1)
ProductVersionsFixed in
opensecurity/mobile_security_frameworkall versions—
References (3)
EPSS history
Timeline
  • 02 SEP 00:45Z
    MobSF Path Traversal in GET /download/<filename> using absolute filenames
    cvelistv5