All reports
Medium

MobSF vulnerable to Open Redirect in Login Redirect

Affected versions

Version ranges need review.

PyPImobsf
Affected versions
<4.0.5
Fixed version
4.0.5
PyPImobsf
Affected versions
< 4.0.5
Fixed version
4.0.5

Exploitation

CVE-2024-41955

Probability of exploitation in the next 30 days: 1.00%

FIRST EPSS · 2026-11-20

Description

Impact

What kind of vulnerability is it? Who is impacted?

An open redirect vulnerability exist in MobSF authentication view.

PoC

  1. Go to http://127.0.0.1:8000/login/?next=//afine.com in a web browser.

  2. Enter credentials and press "Sign In".

  3. 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)

Links