Cross-site Request Forgery (CSRF) Affecting github.com/modelcontextprotocol/go-sdk/mcp package, versions <1.4.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMODELCONTEXTPROTOCOLGOSDKMCP-15701711
  • published20 Mar 2026
  • disclosed19 Mar 2026
  • creditLê Minh Quân

Introduced: 19 Mar 2026

CVE-2026-33252  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade github.com/modelcontextprotocol/go-sdk/mcp to version 1.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the HTTP request handling process. An attacker can execute unauthorized actions by sending crafted cross-site POST requests with a CORS-safelisted Content-Type, bypassing origin and content-type validation.

CVSS Base Scores

version 4.0
version 3.1