ios-simulator-mcp (command injection via exec) | Medium | 6.0| Field | Value |
|---|---|
| CVE / NVD | CVE-2025-52573 |
| EPSS score | 0.000170000 (FIRST EPSS, 2026-05-29) |
| Date (index) | 2025-06-26 |
| Affected product (index) | iOS Simulator MCP Server (ios-simulator-mcp) |
| GHSA ID | GHSA-6f6r-m9pv-67jw |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2025-06-26 |
| Ecosystem | npm |
| Component | MCP tools (ui_tap and related) using child_process.exec |
| CVSS score | 6.0 CVSS v3.1 (GitHub CNA) |
| CWE | CWE-78 |
| Affected versions | < 1.3.3 |
| Fixed versions | 1.3.3 |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | Added during the 2026-05-29 NVD gap review. Shell metacharacters in tool args (duration, udid, x, y) reach exec unsanitized. |
iOS Simulator MCP Server versions prior to 1.3.3 build shell commands with Node.js child_process.exec using LLM-controlled tool arguments. Inputs such as duration, udid, x, and y can include shell metacharacters (;, &&, etc.) to run arbitrary commands as the MCP server process on the host.
Attacker influences tool arguments via prompt injection, malicious MCP client, or compromised upstream agent workflow. MCP server runs with privileges of the developer machine.
OS command injection (CWE-78) from string-concatenated exec instead of execFile with argument arrays.
Simulator-control MCP tools are high-trust local capabilities on developer workstations. One poisoned tool call can pivot from “tap the UI” to full host compromise.
execAsync(`idb ui tap --udid ${actualUdid} ${durationArg} ${x} ${y} --json`)
Upgrade to 1.3.3 or later (uses execFile with argument arrays and input validation).
Public advisory; do not host weaponized tool payloads in this repository.
@joshuayoes/ios-simulator-mcp or ios-simulator-mcp versions < 1.3.3.Upgrade to 1.3.3 or later.