CVE-2026-19978: jiantao88 android-mcp-server Command Execution index.js child_process.exec os command injection
A flaw has been found in jiantao88 android-mcp-server up to cfb872b2446794193b58edd63f4dbf6af48a6292. The impacted element is the function childprocess.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
jiantao88/android-mcp-serverto a version that resolves this vulnerability.Patch 14e2bf27c88ba137e35cbb0c2a75f72b595bb98a - Compensating control
Since the attack can be launched on the local host, restrict local access to the android-mcp-server (e.g., bind services to localhost only and/or limit who can reach the listening interface) to reduce exposure of the Command Execution endpoint.