mcp-run-python
Model Context Protocol server to run Python code in a sandbox.
Activity
- Latest release
- 9mo ago
- Total releases
- 5
- Cadence
- ~daily
- Last 12 months
- 1
Reach
- Stars
- —
Details
- License
- MIT
- First release
- Sep 01, 2025
| Version | Released | |
|---|---|---|
0.0.22
patch
2 CVEs
CVE-2026-25905
PYSEC-2026-2628
GHSA-pfv4-wmph-5gc6
Jul 13, 2026
MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactCritical Sandbox Escape & Server Takeover:
A critical security vulnerability exists in The Specific Attack Vector: MCP Tool Shadowing Because the Python code can modify the JS runtime, an attacker can dynamically overwrite or "shadow" existing MCP tools registered on the server. For example, an attacker could replace a secure file-reading tool with a malicious version that exfiltrates data to an external server, all while the MCP server appears to be functioning normally. PatchesNo Patch Available:
The Recommendation: Users are strongly advised to immediately stop using this package. If functionality is required, users must migrate to a maintained alternative that implements proper sandboxing (e.g., running Python in a Docker container or a restricted WASM environment with the JS bridge disabled). WorkaroundsThere are no configuration-based workarounds. Securing the environment requires modifying the source code to disable the Pyodide-to-JS bridge or moving the execution environment to a fully isolated sandbox (e.g., a separate container). ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-25904
PYSEC-2026-2627
GHSA-6fgp-m6q4-j3q5
Jul 13, 2026
MCP Run Python Deno Sandbox Misconfiguration Allows SSRF Attacks via Localhost Access
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactServer-Side Request Forgery (SSRF):
A security vulnerability exists in the The tool configures the Deno runtime—which is intended to isolate the execution of untrusted Python code—with network permissions that include access to the host's loopback interface ( PatchesNo Patch Available:
The Recommendation:
Users are strongly advised to immediately stop using this package.
If functionality is required, users must migrate to an alternative execution environment that enforces strict network isolation (e.g., blocking all outbound traffic or explicitly denying access to WorkaroundsThere are no configuration-based workarounds provided by the package itself. Remediation requires modifying the source code to restrict the Deno permissions (specifically removing or narrowing the ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev | ||
0.0.21
patch
2 CVEs
CVE-2026-25905
PYSEC-2026-2628
GHSA-pfv4-wmph-5gc6
Jul 13, 2026
MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactCritical Sandbox Escape & Server Takeover:
A critical security vulnerability exists in The Specific Attack Vector: MCP Tool Shadowing Because the Python code can modify the JS runtime, an attacker can dynamically overwrite or "shadow" existing MCP tools registered on the server. For example, an attacker could replace a secure file-reading tool with a malicious version that exfiltrates data to an external server, all while the MCP server appears to be functioning normally. PatchesNo Patch Available:
The Recommendation: Users are strongly advised to immediately stop using this package. If functionality is required, users must migrate to a maintained alternative that implements proper sandboxing (e.g., running Python in a Docker container or a restricted WASM environment with the JS bridge disabled). WorkaroundsThere are no configuration-based workarounds. Securing the environment requires modifying the source code to disable the Pyodide-to-JS bridge or moving the execution environment to a fully isolated sandbox (e.g., a separate container). ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-25904
PYSEC-2026-2627
GHSA-6fgp-m6q4-j3q5
Jul 13, 2026
MCP Run Python Deno Sandbox Misconfiguration Allows SSRF Attacks via Localhost Access
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactServer-Side Request Forgery (SSRF):
A security vulnerability exists in the The tool configures the Deno runtime—which is intended to isolate the execution of untrusted Python code—with network permissions that include access to the host's loopback interface ( PatchesNo Patch Available:
The Recommendation:
Users are strongly advised to immediately stop using this package.
If functionality is required, users must migrate to an alternative execution environment that enforces strict network isolation (e.g., blocking all outbound traffic or explicitly denying access to WorkaroundsThere are no configuration-based workarounds provided by the package itself. Remediation requires modifying the source code to restrict the Deno permissions (specifically removing or narrowing the ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev | ||
0.0.20
patch
2 CVEs
CVE-2026-25905
PYSEC-2026-2628
GHSA-pfv4-wmph-5gc6
Jul 13, 2026
MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactCritical Sandbox Escape & Server Takeover:
A critical security vulnerability exists in The Specific Attack Vector: MCP Tool Shadowing Because the Python code can modify the JS runtime, an attacker can dynamically overwrite or "shadow" existing MCP tools registered on the server. For example, an attacker could replace a secure file-reading tool with a malicious version that exfiltrates data to an external server, all while the MCP server appears to be functioning normally. PatchesNo Patch Available:
The Recommendation: Users are strongly advised to immediately stop using this package. If functionality is required, users must migrate to a maintained alternative that implements proper sandboxing (e.g., running Python in a Docker container or a restricted WASM environment with the JS bridge disabled). WorkaroundsThere are no configuration-based workarounds. Securing the environment requires modifying the source code to disable the Pyodide-to-JS bridge or moving the execution environment to a fully isolated sandbox (e.g., a separate container). ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-25904
PYSEC-2026-2627
GHSA-6fgp-m6q4-j3q5
Jul 13, 2026
MCP Run Python Deno Sandbox Misconfiguration Allows SSRF Attacks via Localhost Access
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactServer-Side Request Forgery (SSRF):
A security vulnerability exists in the The tool configures the Deno runtime—which is intended to isolate the execution of untrusted Python code—with network permissions that include access to the host's loopback interface ( PatchesNo Patch Available:
The Recommendation:
Users are strongly advised to immediately stop using this package.
If functionality is required, users must migrate to an alternative execution environment that enforces strict network isolation (e.g., blocking all outbound traffic or explicitly denying access to WorkaroundsThere are no configuration-based workarounds provided by the package itself. Remediation requires modifying the source code to restrict the Deno permissions (specifically removing or narrowing the ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev | ||
0.0.2
patch
2 CVEs
CVE-2026-25905
PYSEC-2026-2628
GHSA-pfv4-wmph-5gc6
Jul 13, 2026
MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactCritical Sandbox Escape & Server Takeover:
A critical security vulnerability exists in The Specific Attack Vector: MCP Tool Shadowing Because the Python code can modify the JS runtime, an attacker can dynamically overwrite or "shadow" existing MCP tools registered on the server. For example, an attacker could replace a secure file-reading tool with a malicious version that exfiltrates data to an external server, all while the MCP server appears to be functioning normally. PatchesNo Patch Available:
The Recommendation: Users are strongly advised to immediately stop using this package. If functionality is required, users must migrate to a maintained alternative that implements proper sandboxing (e.g., running Python in a Docker container or a restricted WASM environment with the JS bridge disabled). WorkaroundsThere are no configuration-based workarounds. Securing the environment requires modifying the source code to disable the Pyodide-to-JS bridge or moving the execution environment to a fully isolated sandbox (e.g., a separate container). ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-25904
PYSEC-2026-2627
GHSA-6fgp-m6q4-j3q5
Jul 13, 2026
MCP Run Python Deno Sandbox Misconfiguration Allows SSRF Attacks via Localhost Access
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactServer-Side Request Forgery (SSRF):
A security vulnerability exists in the The tool configures the Deno runtime—which is intended to isolate the execution of untrusted Python code—with network permissions that include access to the host's loopback interface ( PatchesNo Patch Available:
The Recommendation:
Users are strongly advised to immediately stop using this package.
If functionality is required, users must migrate to an alternative execution environment that enforces strict network isolation (e.g., blocking all outbound traffic or explicitly denying access to WorkaroundsThere are no configuration-based workarounds provided by the package itself. Remediation requires modifying the source code to restrict the Deno permissions (specifically removing or narrowing the ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev | ||
0.0.1
initial
2 CVEs
CVE-2026-25905
PYSEC-2026-2628
GHSA-pfv4-wmph-5gc6
Jul 13, 2026
MCP Run Python has a Sandbox Escape & Server Takeover Vulnerability
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactCritical Sandbox Escape & Server Takeover:
A critical security vulnerability exists in The Specific Attack Vector: MCP Tool Shadowing Because the Python code can modify the JS runtime, an attacker can dynamically overwrite or "shadow" existing MCP tools registered on the server. For example, an attacker could replace a secure file-reading tool with a malicious version that exfiltrates data to an external server, all while the MCP server appears to be functioning normally. PatchesNo Patch Available:
The Recommendation: Users are strongly advised to immediately stop using this package. If functionality is required, users must migrate to a maintained alternative that implements proper sandboxing (e.g., running Python in a Docker container or a restricted WASM environment with the JS bridge disabled). WorkaroundsThere are no configuration-based workarounds. Securing the environment requires modifying the source code to disable the Pyodide-to-JS bridge or moving the execution environment to a fully isolated sandbox (e.g., a separate container). ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-25904
PYSEC-2026-2627
GHSA-6fgp-m6q4-j3q5
Jul 13, 2026
MCP Run Python Deno Sandbox Misconfiguration Allows SSRF Attacks via Localhost Access
5.8
/ 10
Medium
Network
High
None
Required
Changed
Low
Low
Low
ImpactServer-Side Request Forgery (SSRF):
A security vulnerability exists in the The tool configures the Deno runtime—which is intended to isolate the execution of untrusted Python code—with network permissions that include access to the host's loopback interface ( PatchesNo Patch Available:
The Recommendation:
Users are strongly advised to immediately stop using this package.
If functionality is required, users must migrate to an alternative execution environment that enforces strict network isolation (e.g., blocking all outbound traffic or explicitly denying access to WorkaroundsThere are no configuration-based workarounds provided by the package itself. Remediation requires modifying the source code to restrict the Deno permissions (specifically removing or narrowing the ResourcesAffected versions
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22
References Updated Jul 13, 2026 · Source: OSV.dev |