{"id":"GHSA-89xv-2j6f-qhc8","revision":"bbc0dfa3f701402687e4252965a344e4","records":[{"revision":"bbc0dfa3f701402687e4252965a344e4","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-89xv-2j6f-qhc8","aliases":["CVE-2026-33252","GO-2026-4773"],"title":"Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk","description":"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`. In deployments without Authorization, especially stateless or sessionless configurations, this allows an arbitrary website to send MCP requests to a local server and potentially trigger tool execution.\n\n#### Impact:\n\nA malicious website may have been able to send cross-site POST requests with `Content-Type: text/plain`, which due to CORS-safelisted properties would reach the MCP message handling without any CORS preflight barrier.\n\n#### Fix:\n\nThe SDK was modified to perform `Content-Type` header validation for POST requests and introduced a configurable protection for verifying the origin of the request in commit a433a83. Users are advised to update to v1.4.1 to use this additional protection.\n\nNote: v1.4.1 requires Go 1.25 or later.\n\n#### Credits:\n\nThank you to Lê Minh Quân for reporting the issue.","state":0,"publishedAt":"2026-03-19T16:42:40+00:00","modifiedAt":"2026-09-10T03:50:38.2024005+00:00","affected":[{"ecosystem":"Go","name":"github.com/modelcontextprotocol/go-sdk","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.4.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-89xv-2j6f-qhc8","https://nvd.nist.gov/vuln/detail/CVE-2026-33252","https://github.com/modelcontextprotocol/go-sdk/commit/a433a831d6e5d5ac3b9e625a8095aa8eaa040dfc","https://github.com/modelcontextprotocol/go-sdk"],"sourceUrl":"https://github.com/advisories/GHSA-89xv-2j6f-qhc8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-89xv-2j6f-qhc8","identifiers":["GHSA-89xv-2j6f-qhc8","CVE-2026-33252","GO-2026-4773"]},"retained":false,"historicalAffected":[]}],"coverage":[]}