Cross-site Request Forgery (CSRF) Affecting glab package, versions <1.90.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-CHAINGUARDLATEST-GLAB-15878582
  • published3 Apr 2026
  • disclosed24 Mar 2026

Introduced: 24 Mar 2026

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

How to fix?

Upgrade Chainguard glab to version 1.90.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glab package and not the glab package as distributed by Chainguard. See How to fix? for Chainguard 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