CVE-2026-7730 privsim mcp-test-runner MCP index.ts child_process.spawn os command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary OS commands via the MCP interface in privsim mcp-test-runner due to unsafe child_process.spawn usage.

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

What is CVE-2026-7730?

CVE-2026-7730 is a medium-severity command injection vulnerability in privsim mcp-test-runner, published on 4 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A weakness has been identified in privsim mcp-test-runner 0.2.0. Impacted is the function child_process.spawn of the file src/index.ts of the component MCP Interface. Executing a manipulation of the argument command can lead to os command injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. 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-7730?

How do I fix CVE-2026-7730?

No fix has been published for CVE-2026-7730 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-7730 being exploited?

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

Sources

Also known as GHSA-7r57-3gj8-p8fr.

Is CVE-2026-7730 in your software?

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

Check your SBOMs for free