ADVISORIES

Vulnerability

CVE-2026-25905

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 2

Advisories

  • GHSA-pfv4-wmph-5gc6

    MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability

    Moderate CVE-2026-25905 PyPI Updated 13 July 2026
  • PYSEC-2026-2628

    MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability

    CVE-2026-25905 PyPI Updated 13 July 2026

References