Skip to content
MediumVulnerability

CVE-2026-25905: Python sandbox escape in runPython allows modifying JS environment

Identifier
CVE-2026-25905
Published
Record updated
View JSON
Affected
  • mcp-run-python <= 0.0.22
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2026-25905 affects the Python execution path in the mcp-run-python project, where code run through 'runPython' or 'runPythonAsync' is not isolated from the surrounding JS code. Any Python code can use the Pyodide APIs to modify the JS environment, which may let an attacker hijack the MCP server, including for MCP tool shadowing. The project is archived and unlikely to receive a fix.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.