{"id":"CVE-2026-33252","aliases":["CVE-2026-33252","GHSA-89xv-2j6f-qhc8","GO-2026-4773"],"related":["CGA-xfc9-vhjg-vr43"],"kind":"vulnerability","state":"published","title":"MCP Go SDK Allows Cross-Site Tool Execution for HTTP Servers without Authorizatrion","summary":"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`. 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. Version 1.4.1 contains a patch for the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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`. 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. Version 1.4.1 contains a patch for the issue.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk","format":"markdown","source":"go"},{"lang":"es","text":"El SDK de Go MCP utilizaba el encoding/json estándar de Go. Antes de la versión 1.4.1, el transporte HTTP Streamable del SDK de Go aceptaba solicitudes 'POST' de sitio cruzado generadas por el navegador sin validar el encabezado 'Origin' y sin requerir 'Content-Type: application/json'. En implementaciones sin autorización, especialmente configuraciones sin estado o sin sesión, esto permite a un sitio web arbitrario enviar solicitudes MCP a un servidor local y potencialmente activar la ejecución de herramientas. La versión 1.4.1 contiene un parche para el problema.","source":"nvd"}],"published":"2026-03-19T16:42:40.000Z","modified":"2026-09-10T03:50:38.202Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"< 1.4.1","status":"affected"}],"vendor":"modelcontextprotocol","product":"go-sdk","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.1"}],"ecosystem":"Go","package":"github.com/modelcontextprotocol/go-sdk","purl":"pkg:golang/github.com/modelcontextprotocol/go-sdk","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.1"}],"ecosystem":"Go","package":"github.com/modelcontextprotocol/go-sdk","purl":"pkg:golang/github.com/modelcontextprotocol/go-sdk","source":"go"},{"ranges":[{"status":"affected","fixed":"1.4.1"}],"vendor":"lfprojects","product":"mcp_go_sdk","cpe":"cpe:2.3:a:lfprojects:mcp_go_sdk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-89xv-2j6f-qhc8","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/modelcontextprotocol/go-sdk/commit/a433a831d6e5d5ac3b9e625a8095aa8eaa040dfc","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33252","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/modelcontextprotocol/go-sdk","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-24T18:39:44.408Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33252","url":"https://www.cve.org/CVERecord?id=CVE-2026-33252","licence":"CVE Terms of Use","modified":"2026-03-24T18:39:50.841Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-89xv-2j6f-qhc8","url":"https://github.com/advisories/GHSA-89xv-2j6f-qhc8","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:38.202Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4773","url":"https://pkg.go.dev/vuln/GO-2026-4773","licence":"CC-BY-4.0","modified":"2026-03-25T15:29:12.946Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33252","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33252","licence":"Public domain","modified":"2026-06-17T10:37:11.830Z"}],"updatedAt":"2026-11-25T22:59:16.515Z","epss":{"score":0.00229,"percentile":0.14691,"date":"2026-12-01T12:00:22.000Z"}}