Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. xcode-mcp-server
  4. ›
  5. CVE-2026-2178

CVE-2026-2178: xcode-mcp-server vulnerable to Command Injection

February 8, 2026 (updated March 6, 2026)

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

  • github.com/advisories/GHSA-84fx-pwf3-7777
  • github.com/r-huijts/xcode-mcp-server
  • github.com/r-huijts/xcode-mcp-server/commit/11f8d6bacadd153beee649f92a78a9dad761f56f
  • github.com/r-huijts/xcode-mcp-server/issues/13
  • github.com/r-huijts/xcode-mcp-server/issues/13
  • nvd.nist.gov/vuln/detail/CVE-2026-2178
  • vuldb.com/?ctiid.344881
  • vuldb.com/?id.344881
  • vuldb.com/?submit.749569

Code Behaviors & Features

Detect and mitigate CVE-2026-2178 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.0.3

Solution

Unfortunately, there is no solution available yet.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/xcode-mcp-server/CVE-2026-2178.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Mar 2026 00:19:14 +0000.