MobSF vulnerable to Open Redirect in Login Redirect
Impact
What kind of vulnerability is it? Who is impacted?
An open redirect vulnerability exist in MobSF authentication view.
PoC
- Go to http://127.0.0.1:8000/login/?next=//afine.com in a web browser.
- Enter credentials and press "Sign In".
- You will be redirected to afine.com
Users who are not using authentication are not impacted.
Patches
Has the problem been patched? What versions should users upgrade to?
Update to MobSF v4.0.5
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading? Disable Authentication
References
Are there any links users can visit to find out more? Fix: https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/fdaad81314f393d324c1ede79627e9d47986c8c8
Reporter
Marcin Węgłowski (AFINE Team)
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | mobsf | < 4.0.5 | 4.0.5 |
References
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-8m9j-2f32-2vx4
- https://nvd.nist.gov/vuln/detail/CVE-2024-41955
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/fdaad81314f393d324c1ede79627e9d47986c8c8
- https://github.com/MobSF/Mobile-Security-Framework-MobSF
- https://pypi.org/project/mobsf
- https://github.com/advisories/GHSA-8m9j-2f32-2vx4
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:N- Weakness (CWE)
CWE-601- Platform
- Python (PyPI)
- Package
mobsf- Disclosed
- 31.07.2024
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1669 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-8m9j-2f32-2vx4 - CC BY 4.0
Vulnerability history: mobsf
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 22
- First → latest
- 10.2022 08.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 9
- Medium 11
- Low 2
Disclosures per year
- 2022: 1
- 2023: 1
- 2024: 6
- 2025: 8
- 2026: 6
-
MobSF vulnerable to Open Redirect in Login Redirect this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.