{"id":"CVE-2025-58162","published":"2025-09-02T00:46:06Z","modified":"2025-09-02T13:29:01Z","title":"MobSF Vulnerable to Arbitrary File Write (AR-Slip) via Absolute Path in .a Extraction","vendor":"MobSF","product":"Mobile-Security-Framework-MobSF","tier":"tail","description":{"text":"MobSF is a mobile application security testing tool used. In version 4.4.0, an authenticated user who uploaded a specially prepared one.a, can write arbitrary files to any directory writable by the user of the MobSF process. This issue has been patched in version 4.4.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00628,"percentile":0.51052,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-9gh8-9r95-3fc3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9","tags":["x_refsource_MISC"]},{"url":"https://github.com/MobSF/Mobile-Security-Framework-MobSF/releases/tag/v4.4.1","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":10.21},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"mobsf","affectedVersions":[{"vendor":"MobSF","product":"Mobile-Security-Framework-MobSF","versions":["= 4.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-02T13:28:52.324711Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mobsf","vulnerableRanges":["<4.4.1"],"patched":["4.4.1"],"from":["GHSA-9gh8-9r95-3fc3","PYSEC-2026-1670"],"provenance":"source"}],"summary":{"text":"The flaw is an arbitrary file write caused by an absolute path being honoured during extraction of .a archives in the Mobile-Security-Framework-MobSF product (MobSF, version 4.4.0), a mobile application security testing tool. An authenticated user who uploads a specially crafted .a file can cause files to be written to any directory writable by the MobSF process, and the issue is fixed in 4.4.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:21Z"},"euvd":{"id":"EUVD-2025-26368","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mobsf-mobile-security-framework-mobsf-cve-2025-24803","parents":[{"from":"CVE-2025-24803","to":"CVE-2025-58162","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mobsf/StaticAnalyzer/views/android/views/view_source.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/05206e72cae35b311615a70e51e1a946955c5e83","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9"],"basis":"shared function","functions":["run"]}]},{"from":"CVE-2025-24804","to":"CVE-2025-58162","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mobsf/StaticAnalyzer/views/android/views/view_source.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/05206e72cae35b311615a70e51e1a946955c5e83","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9"],"basis":"shared function","functions":["run"]}]},{"from":"CVE-2025-24805","to":"CVE-2025-58162","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mobsf/StaticAnalyzer/views/android/views/view_source.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/05206e72cae35b311615a70e51e1a946955c5e83","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9"],"basis":"shared function","functions":["run"]}]}],"packageHistory":[{"cve":"CVE-2025-46335","published":"2025-05-05","fixed":"4.3.3","kev":false},{"cve":"CVE-2025-46730","published":"2025-05-05","fixed":"4.4.0","kev":false,"link":{"from":"CVE-2025-46730","to":"CVE-2025-58162","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mobsf","fromFixed":"4.4.0","toFixed":"4.4.1","daysApart":120},{"kind":"same-code","provenance":"machine","files":["mobsf/MobSF/views/home.py","mobsf/StaticAnalyzer/views/common/shared_func.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/6987a946485a795f4fd38cebdb4860b368a1995d","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9"],"basis":"shared file"}]}},{"cve":"CVE-2025-58161","published":"2025-09-02","fixed":"4.4.1","kev":false},{"cve":"CVE-2025-58162","published":"2025-09-02","fixed":"4.4.1","kev":false},{"cve":"CVE-2026-24490","published":"2026-01-27","fixed":"4.4.5","kev":false,"link":{"from":"CVE-2025-58162","to":"CVE-2026-24490","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mobsf","fromFixed":"4.4.1","toFixed":"4.4.5","daysApart":147},{"kind":"same-code","provenance":"machine","files":["mobsf/MobSF/init.py"],"commits":["https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/7f3bc086c028c1b50889cab8a15f7b59b7abdaf9","https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/2b08dd050e7685ee2a14fdbb454affab94129eae"],"basis":"shared file"}]}},{"cve":"CVE-2026-33545","published":"2026-03-26","fixed":"4.4.6","kev":false},{"cve":"CVE-2026-68922","published":"2026-08-18","fixed":"4.5.1","kev":false}],"package":"PyPI:mobsf"}}