Skip to main content
CVE-2025-52573VulnerabilityPublished

CVE-2025-52573: joshuayoes ios-simulator-mcp · OS Command Injection

Affects joshuayoes ios-simulator-mcpSource CVE Database V5

0

Not known to be exploited · CVSS 6.0 Medium : upgrade to 1.3.3 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.3.3
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade joshuayoes ios-simulator-mcp to 1.3.3.

Affected software

ProductAffectedFixed in
npmios-simulator-mcppkg:npm/ios-simulator-mcpOther threatsAffected
  • <1.3.3
Fixed in
  • 1.3.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade ios-simulator-mcp to version 1.3.3 or later, where the command injection vulnerability has been patched. 2. Implement strict input validation and sanitization on all user-supplied parameters, especially those passed to shell commands, to neutralize shell metacharacters and prevent command chaining or injection. 3. Replace usage of Node.js 'exec' with safer alternatives such as 'spawn' or 'execFile' that do not invoke a shell or properly separate command and arguments. 4. Restrict local access to the MCP server to trusted users and environments only, employing strong access controls and monitoring. 5. Harden development and testing environments by applying the principle of least privilege to user accounts and processes interacting with the MCP server. 6. Monitor logs for suspicious command execution patterns or unexpected shell commands originating from the MCP server. 7. For organizations using LLMs or automated tools to interact with the MCP server, implement input validation and output filtering to prevent prompt injection or malicious input generation. 8. Conduct security awareness training for developers and testers to recognize and report suspicious activities related to the MCP server.

Description

iOS Simulator MCP Server (ios-simulator-mcp) is a Model Context Protocol (MCP) server for interacting with iOS simulators. Versions prior to 1.3.3 are written in a way that is vulnerable to command injection vulnerability attacks as part of some of its MCP Server tool definition and implementation. The MCP Server exposes the tool `ui_tap` which relies on Node.js child process API `exec` which is an unsafe and vulnerable API if concatenated with untrusted user input. LLM exposed user input for `duration`, `udid`, and `x` and `y` args can be replaced with shell meta-characters like `;` or `&&` or others to change the behavior from running the expected command `idb` to another command. When LLMs are tricked through prompt injection (and other techniques and attack vectors) to call the tool with input that uses special shell characters such as `; rm -rf /tmp;#` and other payload variations, the full command-line text will be interepted by the shell and result in other commands except of `ps` executing on the host running the MCP Server. Version 1.3.3 contains a patch for the issue.

References

Community reviews

Loading reviews…