CVE-2025-52573
Command Injection in MCP Server ios-simulator-mcp
Check your servers for CVE-2025-52573
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-52573 affects ios-simulator-mcp, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.69%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 26 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| ios-simulator-mcp |
affected < 1.3.3
|
Is my server affected?
Find the installed version of ios-simulator-mcp and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ios-simulator-mcp
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-52573 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-52573RHEL, Rocky, Alma, Fedora
rpm -q ios-simulator-mcp
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-52573Alpine
apk list --installed | grep -i ios-simulator-mcpWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-52573
trivy image --scanners vuln IMAGE | grep CVE-2025-52573
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/joshuayoes/ios-simulator-mcp/commit/eb53a4f2cc8bbeb13e8d6d930f00167befcdb809 github.com
- https://github.com/joshuayoes/ios-simulator-mcp/blob/main/src/index.ts#L166-L207 github.com
- https://github.com/joshuayoes/ios-simulator-mcp/releases/tag/v1.3.3 github.com
Source: the record CVE-2025-52573 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse