Skip to content
OpenAdvisories

Package · Go

github.com/modelcontextprotocol/go-sdk

4 known vulnerabilities.

4 results · Clear filters · Feed

  • High 7.6

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

    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 authenticati…

  • High 7.1

    MCP Go SDK Allows Cross-Site Tool Execution for HTTP Servers without Authorizatrion

    The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.1, the Go SDK's Streamable HTTP transport accepted browser-generated cross-site `POST` requests without validating the `Origin` header and without requiring `Content-Type: application/json`…

  • High —

    Improper handling of null Unicode character when parsing JSON in github.com/modelcontextprotocol/go-sdk

    The Go SDK recently transitioned to the `segmentio/encoding` library for JSON parsing in version 1.3.1. While this change addressed both case-insensitivity and ASCII folding issues, the new parser implemented aggressive key matching that treated keys with `nu…

  • High 7.0

    MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity

    The Go MCP SDK used Go's standard encoding/json.Unmarshal for JSON-RPC and MCP protocol message parsing in versions prior to 1.3.1. Go's standard library performs case-insensitive matching of JSON keys to struct field tags — a field tagged json:"method" would…