Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-xw59-hvm2-8pj6

Опубликовано: 01 апр. 2026
Источник: github
Github: Прошло ревью
CVSS4: 7.6
CVSS3: 8.1

Описание

DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost

The Model Context Protocol (MCP) Go 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 with StreamableHTTPHandler or SSEHandler, 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.

Servers created via StreamableHTTPHandler or SSEHandler now have this protection enabled by default when binding to localhost. Users are advised to update to version 1.4.0 to receive this automatic protection.

Пакеты

Наименование

github.com/modelcontextprotocol/go-sdk

go
Затронутые версииВерсия исправления

< 1.4.0

1.4.0

EPSS

Процентиль: 37%
0.00455
Низкий

7.6 High

CVSS4

8.1 High

CVSS3

Дефекты

CWE-1188

Связанные уязвимости

CVSS3: 8
redhat
4 месяца назад

The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.0, the Model Context Protocol (MCP) Go 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 with StreamableHTTPHandler or SSEHandler, 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. This issue has been patched in version 1.4.0.

CVSS3: 8.1
nvd
4 месяца назад

The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.0, the Model Context Protocol (MCP) Go 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 with StreamableHTTPHandler or SSEHandler, 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. This issue has been patched in version 1.4.0.

EPSS

Процентиль: 37%
0.00455
Низкий

7.6 High

CVSS4

8.1 High

CVSS3

Дефекты

CWE-1188