xcode-mcp-server vulnerable to Command Injection
A vulnerability was found in r-huijts xcode-mcp-server up to f3419f00117aa9949e326f78cc940166c88f18cb. This affects the function registerXcodeTools of the file src/tools/xcode/index.ts of the component run_lldb. The manipulation of the argument args results in command injection. It is possible to launch the attack remotely. The exploit has been made public and could be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The patch is identified as 11f8d6bacadd153beee649f92a78a9dad761f56f. Applying a patch is advised to resolve this issue.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | xcode-mcp-server | <= 1.0.3 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-2178
- https://github.com/r-huijts/xcode-mcp-server/issues/13
- https://github.com/r-huijts/xcode-mcp-server/issues/13#issue-3878065790
- https://github.com/r-huijts/xcode-mcp-server/commit/11f8d6bacadd153beee649f92a78a9dad761f56f
- https://github.com/r-huijts/xcode-mcp-server
- https://vuldb.com/?ctiid.344881
- https://vuldb.com/?id.344881
- https://vuldb.com/?submit.749569
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-74, CWE-77- Platform
- npm
- Package
xcode-mcp-server- Disclosed
- 08.02.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-84fx-pwf3-7777 - CC BY 4.0
Vulnerability history: xcode-mcp-server
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.