# CVE-2025-52573: Command Injection in MCP Server ios-simulator-mcp

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.01% (percentile 62, 2026-11-29)
- **CWE:** CWE-78
- **Aliases:** GHSA-6f6r-m9pv-67jw
- **Published:** 2025-06-26T14:08:56.100Z
- **Modified:** 2026-06-17T09:36:42.280Z

## Who should check

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

## 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

- npm `ios-simulator-mcp`: affected \< 1.3.3; fixed 1.3.3 (osv)
- joshuayoes ios-simulator-mcp: \< 1.3.3 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-29).

### 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.

## References

- vendor: <https://github.com/joshuayoes/ios-simulator-mcp/security/advisories/GHSA-6f6r-m9pv-67jw>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-52573>
- patch: <https://github.com/joshuayoes/ios-simulator-mcp/commit/eb53a4f2cc8bbeb13e8d6d930f00167befcdb809>
- other: <https://github.com/joshuayoes/ios-simulator-mcp/blob/main/src/index.ts#L166-L207>
- other: <https://github.com/joshuayoes/ios-simulator-mcp/releases/tag/v1.3.3>
- other: <https://github.com/joshuayoes/ios-simulator-mcp>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-52573>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6f6r-m9pv-67jw> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-52573> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-52573>
