privsim/mcp-test-runner OS command injection (child_process.spawn) | Low || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-7730 |
| Date (index) | 2026-05-04 |
| Affected product (index) | privsim/mcp-test-runner |
| GHSA ID | GHSA-7r57-3gj8-p8fr |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2026-05-04 |
| Ecosystem | npm |
| Component | mcp-test-runner |
| EPSS score | 0.010890000 (FIRST EPSS, 2026-06-30) |
| CVSS score | Low — 2.1 — 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (NVD CVSS 4.0) |
| CWE | CWE-77 / CWE-78 |
| Affected versions | privsim/mcp-test-runner 0.2.0 cited by NVD |
| Fixed versions | Not stated in NVD at indexing time |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates. |
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.
Depends on deployment: many MCP issues require a reachable HTTP/SSE listener, a malicious remote MCP server, a poisoned project/workspace config, or a victim opening attacker-influenced content. Treat developer workstations and shared CI runners as high-value targets when MCP servers run with host access.
See the NVD description and linked references for the upstream root cause; CWE rows above summarize the weakness mapping published by NVD.
MCP extends an agent’s reach into tools, hosts, and cloud APIs. Failures in transport authentication, logging, URL validation, session binding, or local config loading frequently become RCE, credential theft, SSRF, or session hijacking in MCP-shaped deployments.
Add a minimal vulnerable code snippet here after reviewing the linked upstream commit / tag diff (do not paste weaponized payloads).
Upgrade to vendor-fixed versions where available, reduce network exposure (bind to localhost, require auth on HTTP transports), and apply standard MCP deployment hygiene (tool allowlists, egress controls, separate secrets from logs).
references for commits, tags, and release notes.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-7730 and apply the upstream patched release/commit recommended by the vendor/CNA.