CVE-2022-41547 MobSF allows attackers to read arbitrary files via a crafted HTTP request

High 7.5 Published Updated

Attackers can read arbitrary files via crafted HTTP requests in MobSF, exposing sensitive data to unauthorized users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-41547?

CVE-2022-41547 is a high-severity path traversal vulnerability in n/a, published on 18 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-98

Which versions are affected by CVE-2022-41547?

3 open source packages ship an affected version, including mobsf. It affects 1 product.

PackageAffectedFixed in
mobsf PyPIAll versions0.9.3
mobsf PyPIAll versions0.9.3
mobsf PyPIAll versions0.9.3

Products include Opensecurity Mobile Security Framework.

How do I fix CVE-2022-41547?

Upgrade mobsf to 0.9.3 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-41547 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41547 exists.

Sources

Also known as GHSA-f42p-vc8p-7x54, PYSEC-2026-848.

Is CVE-2022-41547 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free