CVE-2025-58161

CVE-2025-58161 is a medium-severity vulnerability in Opensecurity Mobile Security Framework with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-58161?
CVE-2025-58161 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
Is CVE-2025-58161 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-58161?
CVE-2025-58161 affects Opensecurity Mobile Security Framework. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-58161?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-58161 have an EU (EUVD) identifier?
Yes. CVE-2025-58161 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-26369.
When was CVE-2025-58161 published?
CVE-2025-58161 was published on 2025-09-02 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Opensecurity Mobile Security Framework

All CVEs affecting Opensecurity Mobile Security Framework →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →