Home / MobSF / Mobile-Security-Framework-MobSF / CVE-2025-58161
CVE-2025-58161: is it exploited, and which versions of Mobile-Security-Framework-MobSF are affected and fixed?
CVE-2025-58161 is a path traversal (reading or writing files outside the intended folder) vulnerability in Mobile-Security-Framework-MobSF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: mobsf before 4.4.1 (GitHub advisory GHSA-ccc3-fvfx-mw3v). Fixed in 4.4.1 (GitHub advisory GHSA-ccc3-fvfx-mw3v). Severity: Low (1.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-58161?
MobSF 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.
From the CVE record by GitHub_M, last updated September 2, 2025, 19:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MobSF | Mobile-Security-Framework-MobSF | = 4.4.0 |
As the CVE record by GitHub_M states it, last updated September 2, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | mobsf | < 4.4.1 | 4.4.1 | GHSA-ccc3-fvfx-mw3v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 2, 2025. Summary: MobSF Path Traversal in GET /download/<filename> using absolute filenames.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| opensecurity | mobile security framework | 4.4.0 | application |
NVD analysis (status Analyzed), last modified October 19, 2026, 17:10 UTC.
How severe is CVE-2025-58161?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 1.3 | 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 | GitHub_M |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-58161 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 2, 2025)
- EPSS
- 0.82% probability of exploitation activity in the next 30 days, percentile 58.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-ccc3-fvfx-mw3v x_refsource_CONFIRM
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9 x_refsource_MISC
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 27, 2025
- Published
- September 2, 2025, 00:45 UTC
- CVE record updated
- September 2, 2025, 19:25 UTC by GitHub_M
- NVD
- Analyzed, last modified October 19, 2026, 17:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mobile-Security-Framework-MobSF?
- Aug 18, 2026CVE-2026-68923 Mobile-Security-Framework-MobSF: cross-site request forgery (CSRF)
- Aug 18, 2026CVE-2026-68927 Mobile-Security-Framework-MobSF: server-side request forgery (SSRF)
- Aug 18, 2026CVE-2026-68922 Mobile-Security-Framework-MobSF: path traversal (reading or writing files outside the intended folder)
- Aug 18, 2026CVE-2026-68924 Mobile-Security-Framework-MobSF: denial of service (uncontrolled resource consumption)
- Mar 26, 2026CVE-2026-33545 Mobile-Security-Framework-MobSF: SQL injection
- Jan 27, 2026CVE-2026-24490 Mobile-Security-Framework-MobSF: cross-site scripting (XSS)
- Sep 2, 2025CVE-2025-58162 Mobile-Security-Framework-MobSF: path traversal (reading or writing files outside the intended folder)
- May 5, 2025CVE-2025-46730 Mobile-Security-Framework-MobSF: improper Handling of Highly Compressed Data (Data Amplification)
Every CVE in Mobile-Security-Framework-MobSF
Questions about CVE-2025-58161
Is CVE-2025-58161 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.82% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mobile-Security-Framework-MobSF are affected by CVE-2025-58161?
mobsf before 4.4.1, per the GitHub advisory GHSA-ccc3-fvfx-mw3v. The tables above give every range the sources list.
Which version fixes CVE-2025-58161?
4.4.1, per the GitHub advisory GHSA-ccc3-fvfx-mw3v. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-58161?
Low (1.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-58161?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.