Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mcp-run-python
  4. ›
  5. CVE-2026-25904

CVE-2026-25904: MCP Run Python Deno Sandbox Misconfiguration Allows SSRF Attacks via Localhost Access

February 9, 2026 (updated February 11, 2026)

Server-Side Request Forgery (SSRF): A security vulnerability exists in the mcp-run-python tool (specifically within the Pydantic-AI integration) due to an overly permissive Deno sandbox configuration.

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 (localhost). Consequently, malicious Python code executed through the tool can bypass network isolation and send HTTP requests to internal services running on the host machine. This allows attackers to interact with local APIs, databases, or cloud metadata services that should not be accessible from the sandbox.

References

  • github.com/advisories/GHSA-6fgp-m6q4-j3q5
  • github.com/pydantic/mcp-run-python
  • nvd.nist.gov/vuln/detail/CVE-2026-25904
  • research.jfrog.com/vulnerabilities/mcp-run-python-deno-ssrf-jfsa-2026-001653029

Code Behaviors & Features

Detect and mitigate CVE-2026-25904 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.22

Solution

Unfortunately, there is no solution available yet.

Impact 5.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/mcp-run-python/CVE-2026-25904.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 13 Feb 2026 00:17:56 +0000.