{"id":"CVE-2026-27896","published":"2026-02-26T00:47:46Z","modified":"2026-09-16T12:04:21Z","title":"MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity","vendor":"modelcontextprotocol","product":"go-sdk","tier":"tail","description":{"text":"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 also match \"Method\", \"METHOD\", etc. This violated the JSON-RPC 2.0 specification, which defines exact field names. A malicious MCP peer may have been able to send protocol messages with non-standard field casing that the SDK would silently accept. This had the potential for bypassing intermediary inspection and coss-implementation inconsistency. Go's standard JSON unmarshaling was replaced with a case-sensitive decoder in commit 7b8d81c. Users are advised to update to v1.3.1 to resolve this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00299,"percentile":0.22937,"provenance":"source"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"},{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-wvj2-96wp-fq3f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/go-sdk/commit/7b8d81c264074404abdf5aa16e2cf0c2d9c64cc0","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-27896","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2442903","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27896.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.59},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"modelcontextprotocol","affectedVersions":[{"vendor":"modelcontextprotocol","product":"go-sdk","versions":["< 1.3.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-26T17:06:14.973622Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/modelcontextprotocol/go-sdk","vulnerableRanges":["<1.3.1"],"patched":["1.3.1"],"from":["GHSA-wvj2-96wp-fq3f","GO-2026-4569"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-8792","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-modelcontextprotocol-go-sdk-cve-2026-27896","children":[{"from":"CVE-2026-27896","to":"CVE-2026-34742","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/modelcontextprotocol/go-sdk","fromFixed":"1.3.1","toFixed":"1.4.0","daysApart":35},{"kind":"same-code","provenance":"machine","files":["mcp/streamable.go"],"commits":["https://github.com/modelcontextprotocol/go-sdk/commit/7b8d81c264074404abdf5aa16e2cf0c2d9c64cc0","https://github.com/modelcontextprotocol/go-sdk/commit/67bd3f2e2b53ce11a16db8d976cdb8ff1e986b6d"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-27896","published":"2026-02-26","fixed":"1.3.1","kev":false},{"cve":"CVE-2026-34742","published":"2026-04-02","fixed":"1.4.0","kev":false},{"cve":"CVE-2026-33252","published":"2026-03-23","fixed":"1.4.1","kev":false}],"package":"Go:github.com/modelcontextprotocol/go-sdk"}}