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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58161.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "= 4.4.0"
},
{
"last_affected": "= 4.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.4.1"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"fixed": "7f3bc086c028c1b50889cab8a15f7b59b7abdaf9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.4.1",
"range": [
{
"fixed": "7f3bc086c028c1b50889cab8a15f7b59b7abdaf9"
}
],
"source": "REFERENCES_TAG"
}
]
}