AAK-MCP-DROIDMIND-CVE-2026-117559-001: DroidMind, every release: shell substitution passes the command allowlist
- Severity
- HIGH
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py- Auto-fixable
- No.
- SARIF name
DroidMindShellAllowlistBypass
What it detects
DroidMind (PyPI droidmind, hyperb1iss/droidmind), an MCP server that drives Android devices over ADB, checks a shell command against its allowlist by the first word alone, so $(...) or backticks inside an allowed command run commands the list blocks, such as reboot, and its list_directory puts the requested path into ls -la {path} with no check at all. A client or a prompt-injected agent therefore runs any shell command on the connected device (CVE-2026-117559, CVSS 7.8, CWE-78). Checked in the published PyPI wheels: 0.2.0, the first release, and 0.4.0, the newest (2026-01-07), both do. hyperb1iss/droidmind#17 is open and there is no fixed release.
How to fix
Remove droidmind from agents that read untrusted content, or connect it only to devices that hold nothing worth taking; there is no fixed release. Treat its shell allowlist as no boundary.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-DROIDMIND-CVE-2026-117559-001
Limitations
Reports a reference to droidmind: a requirements*.txt entry at any depth, a pyproject.toml, Pipfile or lockfile entry at the project root, or the package a uvx launch in an MCP config names. Presence-only: every version is reported, a future fixed one included, until the pin gets a floor, and so is a reference that states no version, which installs 0.4.0. The README's own launch, uvx --from git+https://github.com/hyperb1iss/droidmind droidmind, installs from a git URL that names no release and is not reported, although the default branch it installs is affected. It reads the name and version, not which tools the client lets the model call. A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.
References
- CVE: CVE-2026-117559
- OWASP MCP Top 10: MCP05:2025 (Command Injection & Execution), MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering)
- OWASP Agentic Top 10: ASI04 (Agentic Supply Chain Vulnerabilities), ASI05 (Unexpected Code Execution (RCE))
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-INJECT-01 (Shell Injection via MCP)
- CSA AI Controls Matrix (AICM): AIS-07, STA-08
All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-DROIDMIND-CVE-2026-117559-001.md: the page then shows that text, with the registry reference appended under it.