CVE-2025-58161: MobSF - Directory Traversal
- Cve: CVE-2025-58161
- Name: MobSF - Directory Traversal
- 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.
- Impact: Authenticated users can download arbitrary files outside the intended directory, leading to data leakage.
- Remediation: Upgrade to version 4.4.1.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: logged_in
- Requirements: Attacker must be authenticated
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.0083
- Epss percentile: 0.58489
- Assignee: [email protected]
- Published at: 2025-09-02T01:15:30Z
- Age in days: 448
- Modified at: 2026-10-19T17:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-58161
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v | nvd | 2025-09-02 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opensecurity:mobile_security_framework | = 4.4.0 | no | nvd | /v1/products/opensecurity/mobile_security_framework |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| MobSF/Mobile-Security-Framework-MobSF | commit, fix, package, releases, security_advisory | yes | /v1/repositories/MobSF/Mobile-Security-Framework-MobSF |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-09-02
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts