Security mailing lists by PureSourceCode

CVE-2026-25905

MEDIUM 5.8CVSS 3.1

MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability

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.

Published
9 Feb 2026
Last modified
13 Jul 2026
Assigned by
reefs@jfrog.com
NVD status
Deferred
Weakness
CWE-653
Also known as
GHSA-pfv4-wmph-5gc6PYSEC-2026-2628
Sources
NVDJSONOSV GHSA-pfv4-wmph-5gc6JSONOSV PYSEC-2026-2628JSON

Scores

SourceScored byVersionScoreVector / decision
NVD reefs@jfrog.com (Secondary) CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
OSV PyPA CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI mcp-run-python <= 0.0.22

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 9 Feb 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.