Skip to main content
← All vulnerabilities
CVE-2026-25905GHSA-PFV4-WMPH-5GC6PYSEC-2026-2628

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • mcp-run-python

    0

  • mcp-run-pythonPyPI

    through 0.0.22

References 1

research.jfrog.com