
Cloud Vulnerability DB
A community-led vulnerabilities database
ADB MCP Server, a Model Context Protocol server for interacting with Android devices through ADB, was found to contain a critical command injection vulnerability (CVE-2025-59834) in versions 0.1.0 and prior. The vulnerability was discovered on September 24, 2025, and publicly disclosed on September 25, 2025. The issue affects the MCP Server's tool definition and implementation, specifically in how it handles command execution (GitHub Advisory).
The vulnerability stems from unsafe implementation of the executeAdbCommand() function which executes commands via string parameters and wraps the promise-based exec function. The inspect_ui tool, which relies on Node.js child process API exec, processes untrusted user input without proper validation. The vulnerability exists in the AdbUidumpSchema.shape implementation where args.device is passed directly to execPromise() without proper sanitization. The issue received a CVSS v3.1 score of 9.8 (Critical) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating remote exploitation with no required privileges or user interaction (GitHub Advisory).
The vulnerability allows attackers to perform user-initiated and remote command injection on a running MCP Server. When exploited through techniques like prompt injection, attackers can execute arbitrary commands on the host running the MCP Server by using special shell characters in the input (GitHub Advisory).
The issue has been patched via commit 041729c. The recommended mitigation is to avoid using exec and instead use execFile, which pins the command and provides the arguments as array elements. For user input that is not a command-line flag, it is recommended to use the -- notation to terminate command and command-line flags, indicating that the text after the double dash notation is benign value (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."