Skip to main content

MobSF CVE-2026-104585

| EUVDEUVD-2026-100603 CRITICAL
Command Injection (CWE-77)
2026-10-13 cve@mitre.org GHSA-q6rq-45xm-fqcx
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach MobSF web UI or obtain API key
  2. Delivery
    Submit crafted scan/download request
  3. Exploit
    Inject OS command via ADB/parameter input
  4. Execution
    Execute arbitrary commands on host
  5. Impact
    Full MobSF server compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation targets three specific MobSF v4.5.2 code paths: the /download_data/ endpoint, the /api/v1/scan REST endpoint, and the Dynamic Analyzer Android ADB integration module (tests_common.py), where user-controlled input reaches a shell command. Concrete prerequisites: for /api/v1/scan the attacker needs network access to the MobSF instance plus a valid MobSF REST API key (MobSF enforces API-key authorization on /api/v1 by default), and for the ADB integration path a dynamic-analysis environment with a connected/configured Android emulator or device must be active. Limiting factors: MobSF is typically deployed as an internal security-testing tool behind the corporate network rather than internet-facing, and the API-key requirement likely contradicts the input's PR:N - both substantially reduce the unauthenticated-remote exposure implied by the 9.8 score.

Impact

The input CVSS of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) rates this as critical, reflecting network-reachable, low-complexity command injection yielding full confidentiality, integrity, and availability loss. However, the real-world signals temper that score: EPSS is only 0.71% (52nd percentile), which is low for a 9.8, and the vulnerability is NOT in CISA KEV, so there is no evidence of active exploitation. A public exploit/POC repository exists (AmalJafarzade/CVE-2026-104585), raising the practical likelihood that someone with access could weaponize it. There is a tension worth verifying: the input vector asserts PR:N (unauthenticated), yet MobSF's /api/v1/ endpoints normally require a REST API key, so at least the /api/v1/scan vector is likely authenticated - verify the PR:N claim with the vendor/source, because it materially changes exposure. No SSVC decision data (exploitation/automatable/technical-impact) was provided in the input, so an SSVC-based prioritization cannot be computed here. Net: a genuinely high-impact RCE-class flaw with public POC, but low observed exploitation probability and likely some access/auth prerequisite - treat as high priority to patch where MobSF is network-exposed, but not an emergency 'actively exploited' scenario.

Exploit ScenarioDerived

An attacker who can reach the MobSF web interface or holds a valid MobSF API key submits a crafted request to /download_data/, /api/v1/scan, or triggers the Dynamic Analyzer ADB integration with attacker-controlled input that is passed unsanitized into a shell command (CWE-77), resulting in arbitrary OS command execution on the MobSF host. Public exploit code is available in the referenced GitHub POC repository, lowering the skill barrier. Given CVSS AV:N/AC:L, the request can be delivered remotely over the network with low complexity once the attacker has the necessary access.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Command injection in MobSF v4.5.2 allows an attacker with access to the instance-and, for the /api/v1/scan path, a valid MobSF REST API key-to execute arbitrary shell commands via the /download_data/ endpoint, the /api/v1/scan REST API, or the Dynamic Analyzer ADB integration module (tests_common.py). The independent assessment scores this CVSS 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) rather than the 9.8 in the input because API-key authentication is enforced and the ADB path requires an active Android emulator or device. No public exploit identified at time of analysis, no CISA KEV listing, and EPSS is low at 0.71% (52nd percentile); MobSF is typically deployed internally, which reduces remote unauthenticated exposure.

RemediationAI

No vendor-released patch or fixed version is identified in the provided intelligence; the vendor source repository is referenced but no patched release is specified. Until a patch is available, restrict network access to MobSF instances to trusted internal networks and avoid exposing the service to the internet, as the command injection is reachable over the network. Enforce strong, unique REST API keys and rotate them if compromise is suspected; for the /api/v1/scan path this authentication requirement is the primary barrier. If dynamic analysis is not needed, disable or restrict the Dynamic Analyzer ADB integration and ensure no Android emulator or device is connected when not in use. Disable the /download_data/ endpoint if it is not required, recognizing that this may break report download functionality. Run MobSF with a least-privilege service account and in a segregated environment to limit the impact of command execution. Monitor for suspicious shell commands or child processes spawned by the MobSF web service. Refer to the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-104585 and the EUVD advisory for updates. There are no specific workaround configurations provided by the vendor in the input data, so these mitigating controls come with trade-offs in functionality and deployment architecture.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MobSF is an open-source mobile application security testing framework that automates static and dynamic analysis of Android and iOS apps. The vulnerability is a CWE-77 command injection, meaning user-controlled input is passed to a shell command without proper neutralization of shell metacharacters. Three code paths are affected: the /download_data/ endpoint, the /api/v1/scan REST API, and the Dynamic Analyzer Android ADB integration module implemented in DynamicAnalyzer/views/android/tests_common.py, where ADB (Android Debug Bridge) commands are constructed using untrusted input. Successful exploitation yields arbitrary command execution in the context of the MobSF service account. The provided references include the MobSF GitHub source file for tests_common.py and a third-party GitHub repository named after the CVE, but no exact affected version range beyond v4.5.2 is given; EUVD lists affected versions as 'n/a n/a'. The root cause class is improper neutralization of special elements used in a command (command injection).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable, low-complexity command injection giving full RCE (C/I/A:H), but MobSF /api/v1 endpoints require an API key so PR:L rather than PR:N; no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Oct 14, 2026 - 20:23 NVD
9.8 (CRITICAL)
CVE Published
Oct 13, 2026 - 20:17 cve.org
CRITICAL 9.8
CVE Published
Oct 13, 2026 - 20:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Mobile Security Framework (MobSF) v4.5.2 is vulnerable to Command Injection in /download_data/, /api/v1/scan, Dynamic Analyzer ADB integration module.

Executive ViewAI

Why It Matters

MobSF v4.5.2 contains a critical command-injection flaw that requires authenticated access to the instance and, for the /api/v1/scan path, a valid REST API key; successful exploitation can execute arbitrary shell commands on the MobSF host. This could compromise the MobSF testing environment and any connected Android emulator or device, affecting security and DevSecOps teams that rely on it for mobile application assessment. No public exploit or CISA KEV listing is known, and no vendor-released patch is identified at time of analysis, so leadership should prioritize access restriction, containment, and monitoring.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; restrict MobSF v4.5.2 network exposure to trusted users and networks, enforce strong authentication and rotate REST API keys, disable or block the /download_data/ endpoint and Dynamic Analyzer ADB integration when not needed, run MobSF in a least-privilege isolated container or VM, monitor logs for command-injection activity, and apply virtual patching or WAF controls where applicable.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Medium
popular open-source mobile pentest framework, security-team tool not broad production component
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy