CVE-2025-58161
LOW 1.3CVSS 4.0MobSF Path Traversal in GET /download/<filename> using absolute filenames
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.
- Published
- 2 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-ccc3-fvfx-mw3vPYSEC-2026-1672
- Sources
- NVDJSONOSV GHSA-ccc3-fvfx-mw3vJSONOSV PYSEC-2026-1672JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 1.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opensecurity | mobile_security_frameworkcpe:2.3:a:opensecurity:mobile_security_framework:4.4.0:*:*:*:*:*:*:* |
= 4.4.0 | |
| OSV | PyPI | mobsf | < 4.4.1 | 4.4.1 |
References
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9 · Patch, WEB
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1 · Release Notes, WEB
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v · Exploit, Third Party Advisory, WEB
- https://github.com/MobSF/Mobile-Security-Framework-MobSF · PACKAGE
- https://pypi.org/project/mobsf · PACKAGE
- https://github.com/advisories/GHSA-ccc3-fvfx-mw3v · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-58161 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 2 Sep 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Sep 2025)