CVE-2026-5029

RCE in Code Runner MCP Server

State
Published
Severity
8.7 High
Published
May 12, 2026
Updated
May 12, 2026
Reserved
Mar 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCERT-PL

Weaknesses

  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
Code Runner MCP ServerCode Runner MCP Server
  • all versionsAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.