Skip to content

CVE-2026-25904 Overly permissive Deno configuration in mcp-run-python leads to SSRF

MediumCVSS 5.8 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

The Pydantic-AI MCP Run Python tool configures the Deno sandbox with an overly permissive configuration that allows the underlying Python code to access the localhost interface of the host to perform SSRF attacks. Note - the "mcp-run-python" project is archived and unlikely to receive a fix.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi mcp-run-python(PyPI) <= 0.0.22; = 0; = 0.0.1; = 0.0.2 +3 more after 0.0.22 Fixed

Affected products

ProductAffected versionsFixed in
pypi mcp-run-python(PyPI) <= 0.0.22 No fix listed
pypi mcp-run-python(PyPI) = 0.0.1 No fix listed
pypi mcp-run-python(PyPI) = 0.0.2 No fix listed
pypi mcp-run-python(PyPI) = 0.0.20 No fix listed
pypi mcp-run-python(PyPI) = 0.0.21 No fix listed
pypi mcp-run-python(PyPI) = 0.0.22 No fix listed
pypi mcp-run-python(PyPI) = 0 No fix listed

References