Description
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.
Published: 2026-08-17
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker to cause the server to execute arbitrary operating system commands via the child_process.exec function within build/index.js. Attacker must supply crafted values for the parameters deviceId, packageName, permission, or entries within extras[].key and extras[].value, which are unsanitized. This corresponds to CWE‑77 “Path Traversal” and CWE‑78 “OS Command Injection” weaknesses. If the malicious values are injected, the server will run them as the process owner, potentially yielding full control over the system.

Affected Systems

The affected product is jiantao88’s android‑mcp‑server. Every release prior to the commit 14e2bf27c88ba137e35cbb0c2a75f72b595bb98a is vulnerable. The project uses a rolling‑release model, so absence of explicit version numbers does not reduce risk; any non‑patched installation is vulnerable.

Risk and Exploitability

The CVSS score of 4.8 indicates a medium severity vulnerability. The EPSS score is unavailable and the issue is not listed in the CISA KEV catalog, suggesting the exploitation likelihood is not high but still present. Attackers need local access to send the malicious parameters, but once achieved it can lead to unrestricted command execution on the host. Prompt patching is recommended to eliminate the vector.

Generated by OpenCVE AI on August 17, 2026 at 04:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch referenced by commit 14e2bf27c88ba137e35cbb0c2a75f72b595bb98a to the android‑mcp‑server source code and redeploy the server.
  • Remove or disable the exposed Command Execution API endpoint if it is not required for normal operation, thereby preventing the injection vector from being accessible.
  • Implement strict input validation or sanitization for deviceId, packageName, permission, and extras keys and values before they are passed to child_process.exec; use whitelists or escape mechanisms to eliminate command‑injection risk.

Generated by OpenCVE AI on August 17, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 03:45:00 +0000

Type Values Removed Values Added
Description 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.
Title jiantao88 android-mcp-server Command Execution index.js child_process.exec os command injection
First Time appeared Jiantao88
Jiantao88 android-mcp-server
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:o:jiantao88:android-mcp-server:*:*:*:*:*:*:*:*
Vendors & Products Jiantao88
Jiantao88 android-mcp-server
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


Subscriptions

Jiantao88 Android-mcp-server
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-17T03:15:10.773Z

Reserved: 2026-08-16T13:18:54.073Z

Link: CVE-2026-19978

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T04:16:54.783

Modified: 2026-08-17T04:16:54.783

Link: CVE-2026-19978

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T04:30:03Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')