Command Injection Affecting adb-mcp package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ADBMCP-13109604
  • published28 Sept 2025
  • disclosed24 Sept 2025
  • creditLiran Tal

Introduced: 24 Sep 2025

CVE-2025-59834  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

adb-mcp is a MCP server for Android Debug Bridge (ADB) interactions in TypeScript

Affected versions of this package are vulnerable to Command Injection via the executeAdbCommand function. An attacker can execute arbitrary system commands by supplying specially crafted input to the device parameter, which is concatenated into a shell command without proper sanitization.

CVSS Base Scores

version 4.0
version 3.1