ADB MCP Server Command Injection Vulnerability

Vulnerability

A command injection vulnerability has been identified in the ADB MCP Server, a Model Context Protocol server for interacting with Android devices via ADB. This vulnerability exists in versions through 0.1.0 and allows for remote command execution on the server host by injecting malicious commands that are executed in the shell. The issue arises because the server's tool definitions can be manipulated to include arbitrary command-line arguments, which are then executed using Node.js's child process API in an unsafe manner.

Impact

Exploitation of this vulnerability allows for user-initiated and remote command injection on the server running the ADB MCP Server.

Reproduction

To reproduce this vulnerability, load the ADB MCP Server and use the 'inspect_ui' tool while injecting a payload that includes special shell characters, such as '; rm -rf /tmp;#'. The injected command will be executed on the host machine, demonstrating the command injection vulnerability.

Remediation

Users are advised to update to the patched version of ADB MCP Server, which is available on the project's GitHub repository.

Added: Sep 25, 2025, 2:19 PM
Updated: Sep 25, 2025, 3:43 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
7.7
remediation
0.0
relevance
0.6
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.