Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-52573

MEDIUM 6.0EPSS 62%

Command Injection in MCP Server ios-simulator-mcp

Also known as GHSA-6f6r-m9pv-67jw

Mitigation

  • Upgrade ios-simulator-mcp to 1.3.3 or later.

Who should check

  • Projects that depend on npm package ios-simulator-mcp (< 1.3.3)
  • Anyone running joshuayoes ios-simulator-mcp < 1.3.3

Vulnerability facts

Affected
ios-simulator-mcp < 1.3.3
Fixed in
1.3.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: High
EPSS
1.01% chance of exploitation in 30 days (percentile 62, 2026-11-26)
CWE
CWE-78
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm ios-simulator-mcp< 1.3.31.3.3osv
joshuayoes ios-simulator-mcp< 1.3.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-52573. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-52573.md
Affected: ios-simulator-mcp < 1.3.3
Fixed in: 1.3.3

Steps:
1. Search this machine and project for ios-simulator-mcp (npm), joshuayoes ios-simulator-mcp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-52573 being exploited?

There is no confirmed exploitation: CVE-2025-52573 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-52573?

Medium: CVSS 6.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-52573?

ios-simulator-mcp < 1.3.3.

Is there a fix for CVE-2025-52573?

Yes. Fixed in 1.3.3. Upgrade ios-simulator-mcp to 1.3.3 or later.

How do I check if I'm affected by CVE-2025-52573?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors