/mcp HTTP transport) | High || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-5029 |
| Date (index) | 2026-05-12 |
| Affected product (index) | Code Runner MCP Server |
| GHSA ID | GHSA-jv4w-6p47-rhcx |
| OWASP MCP Top 10 (2025) | MCP07 — Insufficient Authentication & Authorization |
| Published / disclosed | 2026-05-12 |
| Ecosystem | npm |
| Component | Code Runner MCP Server |
| EPSS score | 0.002910000 (FIRST EPSS, 2026-06-30) |
| CVSS score | High — 8.7 — CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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-306 |
| Affected versions | All versions (per NVD) |
| Fixed versions | None published in NVD |
| Fix status | Unfixed |
| Exploit status | Public CVE record |
| Notes | Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates. |
A remote code execution vulnerability exists in Code Runner MCP Server when run with the –transport http option, which exposes the /mcp JSON-RPC endpoint without authentication on port 3088. An unauthenticated remote attacker can invoke the run-code MCP tool to supply arbitrary source code and execute it via child_process.exec() using the specified language interpreter. This allows execution of arbitrary code with the privileges of the user running the server. This vulnerability has not been fixed and might affect the project in all versions.
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-5029 and apply the upstream patched release/commit recommended by the vendor/CNA.