DNS Rebinding Protection Disabled by Default in Model Context Protocol Python SDK for Servers Running on Localhost
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
The MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.23.0, tThe Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication using FastMCP with streamable HTTP or SSE transport, and has not configured TransportSecuritySettings, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. Note that running HTTP-based MCP servers locally without authentication is not recommended per MCP security best practices. This issue does not affect servers using stdio transport. This vulnerability is fixed in 1.23.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MLflow | python-sdk | before 1.23.0 | 1.23.0 | Patch available | CNA |
| — | mcp (PyPI) | before 1.23.0 | 1.23.0 | Patch available | GHSA-9h52-p55h-vw2f |
- python-sdk VendorMLflow Affected before 1.23.0 Fixed in 1.23.0 Patch available CNA
- mcp (PyPI) Vendor— Affected before 1.23.0 Fixed in 1.23.0 Patch available GHSA-9h52-p55h-vw2f
Remediation
- Fix · CNA python-sdk (modelcontextprotocol) Fixed in 1.23.0
- Fix · GHSA-9h52-p55h-vw2f mcp (PyPI) Fixed in 1.23.0 Advisory →
Red Hat 4 advisories
- RHSA-2026:3713 Released 2026-03-04 · Red Hat rating CriticalRHOAI 3.3 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.3 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel9 +47
- RHSA-2026:1596 Released 2026-01-29 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.6 Container Release Update
- Red Hat Ansible Automation Platform 2.6 registry.redhat.io/ansible-automation-platform-26/controller-rhel9, registry.redhat.io/ansible-automation-platform-26/controller-rhel9-operator, registry.redhat.io/ansible-automation-platform-26/de-minimal-rhel9 +7
- RHSA-2026:0629 Released 2026-01-14 · Red Hat rating Importantsatellite/foreman-mcp-server-rhel9 container image available as a Technology Preview
- Red Hat Satellite 6.18 registry.redhat.io/satellite/foreman-mcp-server-rhel9
Show 1 more Red Hat advisories
- RHSA-2025:23531 Released 2025-12-17 · Red Hat rating ImportantRHOAI 2.25.1 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9 +34
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Lightspeed | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2.6 | Fixed | RHSA-2026:1596 |
| Red Hat OpenShift AI 2.25 | Fixed | RHSA-2025:23531 |
| Red Hat OpenShift AI 3.3 | Fixed | RHSA-2026:3713 |
| Red Hat Satellite 6.18 | Fixed | RHSA-2026:0629 |
Not affected: 4 products
- Red Hat Ansible Automation Platform 2
- Red Hat Ansible Automation Platform 2.6
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.3
Timeline
- 2026-10-02 Threatist record created from CVE-2025-66416
- 2026-10-03 Alias added: GHSA-9h52-p55h-vw2f
References
Patch 1
Advisory 3
More MLflow Mcp Python Sdk vulnerabilities
- TI-2026-42756 MCP Python SDK: WebSocket server transport does not support Host/Origin validation CVSS 4.0HIGH 7.6
- TI-2026-37970 MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal CVSS 3.1HIGH 7.1
- TI-2026-37971 MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks CVSS 3.1HIGH 7.6
Sources
- CVE-2025-66416 · CVE Program
- CVE-2025-66416 · NVD
- FIRST EPSS
- GHSA-9h52-p55h-vw2f · GitHub Advisory Database · CC BY 4.0
- CVE-2025-66416 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences