HIGH7.5
PYSEC-2026-848
MobSF allows attackers to read arbitrary files via a crafted HTTP request
Quick fix
PYSEC-2026-848 — mobsf: upgrade to the fixed version with the command below.
pip install --upgrade 'mobsf>=0.9.3'Details
Mobile Security Framework (MobSF) v0.9.2 and below was discovered to contain a local file inclusion (LFI) vulnerability in the `StaticAnalyzer/views.py` script. This vulnerability allows attackers to read arbitrary files via a crafted HTTP request.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-41547[ADVISORY]
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/pull/166[WEB]
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/b9cdd1f52bdf127cf33bb1be369e374a2855f8e6#diff-69d2e38f6bba208c333da6a09a83ca65056fcb60f4e10d23f67c01bcc1ffb58c[WEB]
- https://github.com/MobSF/Mobile-Security-Framework-MobSF[PACKAGE]
- https://pypi.org/project/mobsf[PACKAGE]
- https://github.com/advisories/GHSA-f42p-vc8p-7x54[ADVISORY]