Skip to content
CVE PROGRAM SOURCE RECORD5.8 Medium

CVE-2026-25905

Lack of isolation in mcp-run-python leads to MCP server takeover

Description

The Python code being run by 'runPython' or 'runPythonAsync' is not isolated from the rest of the JS code, allowing any Python code to use the Pyodide APIs to modify the JS environment. This may result in an attacker hijacking the MCP server - for malicious purposes including MCP tool shadowing. Note - the "mcp-run-python" project is archived and unlikely to receive a fix.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

mcp-run-python

  • 0affected

References