News · GitLab · 2 min read
Event date: · Published:
GitLab patches SSRF flaw in its built-in MCP server's OAuth token handling
GitLab fixed a moderate severity SSRF vulnerability, CVE-2026-135221, in its native MCP server's OAuth token handling, patched in GitLab EE 19.4.11, 19.5.9, and 19.6.2.
GitLab shipped a fix for a server-side request forgery (SSRF) vulnerability in the OAuth token handling of its built-in Model Context Protocol (MCP) server, disclosed on November 25, 2026 in the advisory GitLab native MCP server OAuth SSRF. The flaw let authenticated users reach internal network resources through GitLab's own native MCP server, not a third-party add-on.
What changed
CVE-2026-135221carries a CVSS score of 6.3, rated moderate.- The flaw affects GitLab EE
18.10through19.4.10,19.5through19.5.8, and19.6through19.6.1. - The root cause is insufficient URL validation during OAuth token handling.
- Authenticated users could trigger SSRF to reach internal network services.
- GitLab fixed the issue in EE
19.4.11,19.5.9, and19.6.2.
Why it matters for AI builders
GitLab ships MCP support directly inside the product rather than as a bolt-on, so this flaw sits in code every GitLab MCP user already has installed. That makes it a reminder that vendor-built MCP servers need the same security scrutiny as community-maintained ones: an unrelated, older set of critical vulnerabilities in the third-party @zereight/mcp-gitlab community server was fixed separately in June 2026.
Fix availability
GitLab published the advisory as GHSA-5845-97p8-588c on November 25, 2026, alongside the Patch release: GitLab 19.6.2 released notes. Administrators running affected versions should upgrade to EE 19.4.11, 19.5.9, or 19.6.2 to apply the fix.
Sources
- GitLab native MCP server OAuth SSRF (GitHub Security Advisories, November 25, 2026, official)
- Patch release: GitLab 19.6.2 released (GitLab, November 25, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.