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

- Severity: Medium 5.8 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-02-09T08:51:18.196Z
- Modified: 2026-07-13T16:43:20.297Z
- Also known as: GHSA-6fgp-m6q4-j3q5, PYSEC-2026-2627
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: JFROG

## 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.

(As written by CVE List.)

## Affected

- mcp-run-python: 0
- mcp-run-python (PyPI): up to 0.0.22

## Every score

- JFROG: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`

## References

- <https://research.jfrog.com/vulnerabilities/mcp-run-python-deno-ssrf-jfsa-2026-001653029/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25904> (advisory)
- <https://github.com/pydantic/mcp-run-python> (package)
- <https://research.jfrog.com/vulnerabilities/mcp-run-python-deno-ssrf-jfsa-2026-001653029> (web)
- <https://pypi.org/project/mcp-run-python> (package)
- <https://github.com/advisories/GHSA-6fgp-m6q4-j3q5> (advisory)

## Sources

- CVE List: [CVE-2026-25904](https://www.cve.org/CVERecord?id=CVE-2026-25904), CVE Terms of Use, modified 2026-02-09
- GitHub Advisory Database: [GHSA-6fgp-m6q4-j3q5](https://github.com/advisories/GHSA-6fgp-m6q4-j3q5), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-25904](https://nvd.nist.gov/vuln/detail/CVE-2026-25904), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2627](https://osv.dev/vulnerability/PYSEC-2026-2627), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-25904 · Whole record: https://cve.day/CVE-2026-25904.json · Rebuilt by cve.day 2026-11-25T22:59:13.649Z
