Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local low-privilege system access
-
DeliverySend crafted MCP tool request with injected shell payload in deviceId, packageName, or permission parameter
-
Exploitchild_process.exec() interpolates unsanitized input into shell command string
-
ExecutionInjected OS commands execute under server process privileges
-
ImpactArbitrary local code execution achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques 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 requires local host access with at least low-privilege OS credentials sufficient to interact with the android-mcp-server process, as confirmed by the CVSS 4.0 vector metrics AV:L and PR:L. No special server configuration, feature flag, or non-default deployment mode is required - the vulnerable |
| Impact | The CVSS 4.0 score of 4.8 reflects a local attack vector (AV:L) with low privilege requirements (PR:L) and limited confidentiality, integrity, and availability impact, all rated Low, with no scope change to subsequent systems. No CISA KEV listing means confirmed active exploitation in the wild is not established; however, the publicly available proof-of-concept - reflected by the E:P exploitability modifier in the CVSS 4.0 vector - means any low-privilege local user could exploit this with minimal skill once local access is obtained. EPSS data was not provided in the available intelligence sources, so exploitation probability cannot be independently quantified. Even a mid-sized developer tooling team in malbork deploying this MCP server on shared workstations should prioritize patching promptly, given the trivially exploitable command injection primitive and the existence of public PoC code - despite the limited blast radius inherent to the local-only attack vector. The low C/I/A ratings suggest partial rather than full system compromise in typical scenarios, but command injection primitives can be chained with local privilege escalation to amplify impact beyond the initial foothold. |
| Exploit ScenarioDerived | A local attacker with low-privilege shell access to a developer workstation running android-mcp-server sends a crafted MCP tool invocation with a malicious |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
OS command injection in android-mcp-server's build/index.js allows local low-privilege attackers to execute arbitrary shell commands by supplying malicious values for parameters such as deviceId, packageName, permission, or extras fields passed to the child_process.exec() ADB command builder. The vulnerable code interpolates user-supplied input directly into shell command strings without sanitization, making exploitation trivial for any local user with access to the MCP server process. A publicly available proof-of-concept exists via the GitHub issue tracker, and a patch commit has been published; no CISA KEV listing confirms active in-the-wild exploitation at time of analysis.
RemediationAI
Update android-mcp-server to the patched commit 14e2bf27c88ba137e35cbb0c2a75f72b595bb98a or any later commit by pulling from the repository at https://github.com/jiantao88/android-mcp-server/; the specific patch diff is available at https://github.com/jiantao88/android-mcp-server/commit/14e2bf27c88ba137e35cbb0c2a75f72b595bb98a. Because the project has no versioned releases, operators must manually verify that their deployed commit hash is at or after the patch baseline. As a compensating control where immediate patching is not possible, restrict OS-level access to the system running android-mcp-server to trusted developer accounts only, reducing the attacker population; note this does not eliminate the underlying flaw and should not be treated as a permanent mitigation. Do not deploy this tool in shared or multi-user environments without first applying the patch.
Affected VersionsENISA
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
android-mcp-server is a Node.js-based Model Context Protocol (MCP) server that wraps Android Debug Bridge (ADB) commands for Android device management, identified by CPE cpe:2.3:a:jiantao88:android-mcp-server:*:*:*:*:*:*:*:*. The root cause (CWE-78, OS Command Injection) lies in the use of Node.js child_process.exec() in build/index.js, which passes the full command as a single string to the OS shell (/bin/sh -c). User-supplied values for deviceId, packageName, permission, extras[].key, and extras[].value were interpolated directly into this shell command string - e.g., constructing const cmd = '"' + adbPath + '" ' + deviceOption + ' ' + command - without neutralizing shell metacharacters such as ;, &&, or |. The patch at commit 14e2bf27c88ba137e35cbb0c2a75f72b595bb98a replaces exec() with execFile() (which passes arguments as an array, bypassing shell interpretation entirely), introduces Zod regex-based input validation for packageName and permission fields, and adds a quoteRemoteShellArg() function for safe POSIX escaping of ADB remote shell arguments.
Know when Android Mcp Server gets its next vulnerability
- 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Local attack vector with low-privilege access required to reach the MCP server; no scope change as impact is confined to the vulnerable system with partial C/I/A impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in jiantao88 android-mcp-server up to cfb872b2446794193b58edd63f4dbf6af48a6292. The impacted element is the function child_process.exec of the file build/index.js of the component Command Execution. Executing a manipulation of the argument deviceId/packageName/permission/extras[].key/extras[].value can lead to os command injection. It is possible to launch the attack on the local host. The exploit has been published and may be used. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable. This patch is called 14e2bf27c88ba137e35cbb0c2a75f72b595bb98a. It is advisable to implement a patch to correct this issue.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-60038
GHSA-2wr2-48g3-wphx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB