CVE-2026-25905
CVE-2026-25905 · Lack of isolation in mcp-run-python leads to MCP server takeover
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.8 · Medium · EPSS 0.2%
- Published
- Updated
Stack: python
Affected products and versions
mcp-run-python PyPI
- Versions
- 0.0.1
- 0.0.2
- 0.0.20
- 0.0.21
- 0.0.22
- Affected ranges
- ECOSYSTEM: ≤ 0.0.22
No fix published