Cross-site Request Forgery (CSRF) Affecting osv-scanner package, versions <2.3.3-r7


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (1st 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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-OSVSCANNER-15753512
  • published23 Mar 2026
  • disclosed24 Mar 2026

Introduced: 23 Mar 2026

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

How to fix?

Upgrade Wolfi osv-scanner to version 2.3.3-r7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream osv-scanner package and not the osv-scanner package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1