Description
DroidMind through 0.4.0 contains a command injection vulnerability that allows MCP clients to bypass the shell command allowlist by using $(...) or backtick substitution. Attackers, including prompt-injected agents, can inject commands through parameters interpolated into Device.run_shell() or unvalidated Device.list_directory() to run blocked commands such as reboot on connected Android devices.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| hyperb1iss | droidmind | ≤ 0.4.0 | — |
References
- GitHub Issue #17 issue-tracking
- https://github.com/hyperb1iss/droidmind product
- https://github.com/hyperb1iss/droidmind/blob/v0.4.0/droidmind/security.py#L338-L402 technical-description
- VulnCheck Advisory: DroidMind through 0.4.0 Command Injection via Shell Allowlist Bypass third-party-advisory