CVE-2026-7416 PolarVista xcode-mcp-server MCP index.ts run_tests os command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary OS commands via the run_tests function in PolarVista xcode-mcp-server, posing a risk to developers using this tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7416?

CVE-2026-7416 is a medium-severity command injection vulnerability in PolarVista xcode-mcp-server, published on 29 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in PolarVista xcode-mcp-server 1.0.0. This issue affects the function build_project/run_tests of the file src/index.ts of the component MCP Interface. The manipulation of the argument Request results in os command injection. The attack may be launched remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-7416?

How do I fix CVE-2026-7416?

No fix has been published for CVE-2026-7416 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-7416 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7416 exists.

Sources

Also known as GHSA-vmcc-m2xv-hrp5.

Is CVE-2026-7416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free