CVE-2026-2178: r-huijts xcode-mcp-server · Command Injection
Affects r-huijts xcode-mcp-serverSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 3.7% chance of exploitation in 30 days – higher than 89% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 8 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| r-huijtsxcode-mcp-server | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2026-2178, organizations should immediately apply the patch identified by commit 11f8d6bacadd153beee649f92a78a9dad761f56f to their xcode-mcp-server installations. Given the rolling release model, ensure that the deployment pipeline incorporates this fix promptly. Additionally, implement strict input validation and sanitization on all parameters, especially those that influence command execution, to prevent injection attacks. Restrict network access to the xcode-mcp-server to trusted internal networks or VPNs to reduce exposure. Employ runtime application self-protection (RASP) or intrusion detection systems to monitor for anomalous command execution patterns. Regularly audit logs for suspicious activity related to the registerXcodeTools function. Finally, consider isolating the server in a hardened environment with minimal privileges to limit the potential impact of any successful exploitation.
Description
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.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/r-huijts/xcode-mcp-server/issues/13 (opens in a new tab)
- github.com/r-huijts/xcode-mcp-server/issues/13 (opens in a new tab)
- github.com/r-huijts/xcode-mcp-server/commit/11f8d6bacadd153beee649f92a78a9dad761f56f (opens in a new tab)
- github.com/r-huijts/xcode-mcp-server/ (opens in a new tab)