xcode-mcp-server vulnerable to Command Injection
Date: 2026-02
Affected: npm/xcode-mcp-server
Attack vector: command-injection
Category: vulnerability-disclosure
Severity: Low
CVE: CVE-2026-2178
CWE: CWE-74
CWE-77
CVSS: 6.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)

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.


Mitigations:

Architectural layers (MAESTRO):