GHSA-6fgp-m6q4-j3q5

Suggest an improvement
Source
https://github.com/advisories/GHSA-6fgp-m6q4-j3q5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-6fgp-m6q4-j3q5/GHSA-6fgp-m6q4-j3q5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6fgp-m6q4-j3q5
Aliases
  • CVE-2026-25904
Published
2026-02-09T09:30:22Z
Modified
2026-02-11T20:41:20.926228Z
Severity
  • 5.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L CVSS Calculator
Summary
MCP Run Python Deno Sandbox Misconfiguration Allows SSRF Attacks via Localhost Access
Details

Impact

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.

Patches

No Patch Available: The mcp-run-python project is currently archived and maintainers have indicated it is unlikely to receive a fix.

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 127.0.0.1/::1).

Workarounds

There 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 --allow-net flag) or moving the execution to a container with no network access.

Resources

Database specific
{
    "nvd_published_at": "2026-02-09T09:16:33Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-918"
    ],
    "github_reviewed_at": "2026-02-11T19:47:51Z"
}
References

Affected packages

PyPI / mcp-run-python

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.22

Affected versions

0.*
0.0.1
0.0.2
0.0.20
0.0.21
0.0.22

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-6fgp-m6q4-j3q5/GHSA-6fgp-m6q4-j3q5.json"