| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-25904 |
| EPSS score | 0.001650000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2026-02-09 |
| Affected product (index) | mcp-run-python / Pydantic-AI MCP Run Python |
| GHSA ID | GHSA-6FGP-M6Q4-J3Q5 |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-02-09 |
| Ecosystem | pip |
| Component | mcp-run-python / Pydantic-AI MCP Run Python |
| CVSS score | 5.8 MEDIUM CVSS v3.1 (NVD) |
| CWE | CWE-918 |
| Affected versions | mcp-run-python <= 0.0.22 |
| Fixed versions | No fixed version listed in NVD/GitHub advisory |
| Fix status | Unfixed |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added during the 2026-05-22 missing-CVE review. Re-check NVD before using this entry for compliance reporting. |
CVE-2026-25904 tracks ssrf affecting mcp-run-python / Pydantic-AI MCP Run Python. The issue is relevant to MCP deployments because the vulnerable component exposes MCP tools, transport handling, registry functionality, client configuration, or MCP-adjacent automation that can affect developer workstations, agents, secrets, local files, clusters, databases, or backend services.
Exposure depends on how the affected component is deployed. Prioritize systems where the MCP server, client integration, or gateway is reachable by untrusted users, accepts attacker-controlled tool arguments, loads external MCP configuration, or runs with access to sensitive local files, credentials, repositories, cloud APIs, Kubernetes clusters, or internal network resources.
Weakness class: SSRF. Confirm the exact CWE and affected code path in the NVD record and linked upstream advisory before adding exploit-specific detail.
MCP components often bridge model output to privileged tools. Vulnerabilities in command execution, sandbox isolation, path handling, SSRF validation, registry trust, or configuration loading can let attacker-controlled prompts, repositories, URLs, or tool arguments cross into host execution, data exfiltration, or unauthorized internal access.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / tag diff. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected MCP component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-25904 and apply the upstream patched release or commit recommended by the vendor/CNA.