Local command execution via ADB argument injection
Published Aug 17, 2026 · Updated Aug 17, 2026
OS command injection in jiantao88 Android MCP Server through cfb872b allows local users to execute arbitrary commands via MCP tool arguments. In src/index.ts, executeAdbCommand concatenates deviceId and command strings such as packageName, permission, and extras fields into one adb command and passes it to child_process.exec, and the fix replaces that flow with execFile plus per-argument shell quoting. Reachability requires access to the locally configured MCP server, and the published calc.exe proof of concept shows code execution on the host even when no Android device is attached.
Summary
What happened
OS command injection in jiantao88 Android MCP Server through cfb872b allows local users to execute arbitrary commands via MCP tool arguments. In src/index.ts, executeAdbCommand concatenates deviceId and command strings such as packageName, permission, and extras fields into one adb command and passes it to child_process.exec, and the fix replaces that flow with execFile plus per-argument shell quoting. Reachability requires access to the locally configured MCP server, and the published calc.exe proof of concept shows code execution on the host even when no Android device is attached.
The record
- CVE
- CVE-2026-19978
- Published
- Aug 17, 2026
- Updated
- Aug 17, 2026
- Vendor
- jiantao88
- Product
- Android MCP Server
- Classifications
- CWE-78, CWE-77, T1059
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Aug 17, 2026CVE publishedPublication date reported by the CVE source.
- Aug 17, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=cfb872b2446794193b58edd63f4dbf6af48a6292
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub issue #1 calc.exe proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo