CVE-2026-5029

RCE in Code Runner MCP Server

Published May 12, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A remote code execution flaw exists in Code Runner MCP Server when started with the --transport http option, exposing the /mcp JSON‑RPC endpoint without authentication on port 3088. An unauthenticated attacker can call run‑code to pass arbitrary source code, which the server executes through child_process.exec() using the language interpreter. The result is full execution of attacker‑supplied code with the privileges of the user running the server, meeting the criteria for a high‑severity denial of remote or local access vulnerability.

Affected Systems

The vulnerability targets Code Runner MCP Server in all versions that support the --transport http flag. The unprotected JSON‑RPC endpoint is accessible directly on TCP port 3088 when the server is run with this option, regardless of the operating system or deployment environment.

Risk and Exploitability

The CVSS score of 8.7 indicates a high risk to confidentiality, integrity, and availability. Although no EPSS value is provided, the lack of authentication combined with the ability to execute arbitrary code makes exploitation likely in a network where the service is exposed. The issue is not currently listed in CISA KEV, but its severity warrants immediate attention. An attacker can remotely invoke the vulnerable endpoint, supply any source code, and cause it to run with local privileges, potentially compromising the entire host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Disable the --transport http option or run the server with a transport that requires authentication.
  • Configure firewall or network policies to limit inbound traffic on port 3088 to trusted hosts only.
  • Apply vendor updates or patches as soon as they become available; monitor the vendor’s advisories for an official fix.

Generated by OpenCVE AI on May 12, 2026 at 10:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Code Runner Mcp Server
Code Runner Mcp Server code Runner Mcp Server
Vendors & Products Code Runner Mcp Server
Code Runner Mcp Server code Runner Mcp Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title RCE in Code Runner MCP Server
Weaknesses CWE-306
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
May 12, 2026, 12:30 PM
Reserved
Mar 27, 2026, 3:32 PM
Status
Awaiting Analysis
Published
May 12, 2026, 10:16 AM
Modified
Jun 17, 2026, 10:58 AM