CVE-2026-33252: MCP Go SDK Allows Cross-Site Tool Execution for HTTP Servers without Authorizatrion

Published Mar 19, 2026
·
Updated

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.

Other sources

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.

Impact:

A 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.

Fix:

The 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.

Note: v1.4.1 requires Go 1.25 or later.

Credits:

Thank you to Lê Minh Quân for reporting the issue.

— GitHub

Affected Software

2 affected componentsFixes available
go/github.com/modelcontextprotocol/go-sdk<=1.4.0
1.4.1
Lfprojects Mcp Go Sdk<1.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/modelcontextprotocol/go-sdk to a version that resolves this vulnerability.

    Fixed in 1.4.1
  2. Upgrade

    Upgrade MCP Go SDK to a version that resolves this vulnerability.

    Fixed in 1.4.1

Event History

Mar 19, 2026
Advisory Published
via GitHub·04:42 PM
Data Sourced
via GitHub·04:42 PM
DescriptionSeverityWeaknessAffected Software
Mar 23, 2026
CVE Published
via MITRE·11:44 PM
Data Sourced
via MITRE·11:44 PM
DescriptionSeverityWeakness
Mar 24, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeakness
Jun 17, 2026
Data Sourced
via NVD·10:37 AM
RemedyAffected Software
Nov 21, 2026
Exploit Published
via GitHub·05:22 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-33252?

The severity of CVE-2026-33252 is classified as high due to the potential for unauthorized access through unvalidated cross-site POST requests.

2

How do I fix CVE-2026-33252?

To fix CVE-2026-33252, upgrade the Go SDK to version 1.4.1 or later.

3

What software is affected by CVE-2026-33252?

CVE-2026-33252 affects the Go SDK, specifically versions up to 1.4.0 of the package 'github.com/modelcontextprotocol/go-sdk'.

4

What type of attacks can be executed due to CVE-2026-33252?

CVE-2026-33252 can allow attackers to execute unauthorized actions through cross-site request forgery (CSRF) attacks.

5

Why is the 'Content-Type' header check important in CVE-2026-33252?

The lack of 'Content-Type: application/json' validation in CVE-2026-33252 enables potentially malicious payloads to be processed, increasing risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203