mcp-cve-project

CVE-2025-52573 | ios-simulator-mcp (command injection via exec) | Medium | 6.0

CVE Information

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.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

Attacker influences tool arguments via prompt injection, malicious MCP client, or compromised upstream agent workflow. MCP server runs with privileges of the developer machine.

CVE is because of what bug?

OS command injection (CWE-78) from string-concatenated exec instead of execFile with argument arrays.

MCP-specific impact / why it matters

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.

Where was the bug? (source + snippet)

execAsync(`idb ui tap --udid ${actualUdid} ${durationArg} ${x} ${y} --json`)

Fix / Remediation

Upgrade to 1.3.3 or later (uses execFile with argument arrays and input validation).

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

Public advisory; do not host weaponized tool payloads in this repository.

Detection / verification

Patch

Upgrade to 1.3.3 or later.