CVE-2026-25905
Last modified
CVE-2026-25905 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-25905?
How severe is CVE-2026-25905?
How do I fix CVE-2026-25905?
Are you affected by CVE-2026-25905?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
