Skip to content

github.com/modelcontextprotocol/go-sdk (Go)

The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.

Advisories
12
Latest version
v1.8.0
Released Sep 4, 2026
License
Apache-2.0, MIT, CC-BY-4.0
OpenSSF Scorecard
—

How to fix

Upgrading to 1.4.1 or later clears every advisory below that has a fix.

Upgrade commands
go
go get github.com/modelcontextprotocol/go-sdk@v1.8.0 && go mod tidy

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-xw59-hvm2-8pj6
DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost
High
EPSS 0.47%
< 1.4.0
1.4.0
GHSA-xw59-hvm2-8pj6
DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost
High
EPSS 0.47%
< 1.4.0
1.4.0
GHSA-xw59-hvm2-8pj6
DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost
High
EPSS 0.47%
< 1.4.0
1.4.0
GHSA-89xv-2j6f-qhc8
Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk
Medium
EPSS 0.18%
< 1.4.1
1.4.1
GHSA-89xv-2j6f-qhc8
Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk
Medium
EPSS 0.18%
<= 1.4.0
No fix yet
GHSA-89xv-2j6f-qhc8
Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk
Medium
EPSS 0.18%
< 1.4.1
1.4.1
GHSA-q382-vc8q-7jhj
Improper handling of null Unicode character when parsing JSON in github.com/modelcontextprotocol/go-sdk
High
< 1.4.1
1.4.1
GHSA-q382-vc8q-7jhj
Improper handling of null Unicode character when parsing JSON in github.com/modelcontextprotocol/go-sdk
High
< 1.4.1
1.4.1
GHSA-q382-vc8q-7jhj
Improper handling of null Unicode character when parsing JSON in github.com/modelcontextprotocol/go-sdk
High
<= 1.4.0
No fix yet
GHSA-wvj2-96wp-fq3f
MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity
High
EPSS 0.29%
< 1.3.1
1.3.1
GHSA-wvj2-96wp-fq3f
MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity
High
EPSS 0.29%
< 1.3.1
1.3.1
GHSA-wvj2-96wp-fq3f
MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity
High
EPSS 0.29%
< 1.3.1
1.3.1

Source: https://github.com/modelcontextprotocol/go-sdk

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor