CVE-2026-123142: GitLab MCP OAuth token flaw allows unauthorized merge request approvals

GitLab has patched an authorization flaw that allowed authenticated users holding MCP-scoped OAuth tokens to approve and merge requests without proper permission checks.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 2 min read
Share
A developer reviewing code on a laptop screen in a dimly lit office, with merge request notifications visible on a second monitor
Image: AI-generated, i10X
On this page
  1. Quick Take
  2. In plain English
  3. What happened
  4. What you should do
  5. What it means
  6. Sources

GitLab has fixed a medium-severity authorization vulnerability that allowed authenticated users with MCP-scoped OAuth tokens to perform unauthorized actions on issues and merge requests, including approving and merging code changes.

i10X Quick Take

Quick Take

  1. What: Authorization bypass in GitLab CE/EE allowed MCP OAuth token holders to approve and merge requests without proper checks (CVE-2026-123142, CVSS 4.3)
  2. Who is affected: GitLab CE/EE versions 18.4 to 19.3.8, 19.4 to 19.4.7, and 19.5 to 19.5.5
  3. What to do: Upgrade to GitLab 19.5.6, 19.4.8, or 19.3.9 immediately
  4. Status: Patches released November 16, 2026; GitLab.com already patched
  5. Severity: Medium (CVSS 4.3)

In plain English

GitLab is a platform developers use to store code and review changes before merging them into production. A bug in GitLab let authenticated users who had a special type of access token (called an MCP-scoped OAuth token) approve and merge code changes they should not have been able to touch. The flaw affected all GitLab versions from 18.4 up to 19.5.5. GitLab fixed the problem on November 16, 2026.

What you should do: If you run your own GitLab server, you need to upgrade to version 19.5.6, 19.4.8, or 19.3.9. If you only use GitLab.com, the fix is already live and you do not need to do anything.

What happened

GitLab disclosed CVE-2026-123142 in its November 16, 2026 security release. The vulnerability stemmed from incorrect authorization checks in GitLab Community Edition and Enterprise Edition. Under certain conditions, an authenticated user holding an MCP-scoped OAuth token could perform unauthorized state changes on issues and merge requests, including approving and merging them, according to the National Vulnerability Database summary.

The flaw affected all versions from 18.4 before 19.3.9, all versions from 19.4 before 19.4.8, and all versions from 19.5 before 19.5.6. GitLab assigned the issue a CVSS score of 4.3, classifying it as medium severity.

GitLab.com was already running the patched version at the time of disclosure. GitLab Dedicated customers did not need to take action.

What you should do

GitLab strongly recommends that all self-managed installations upgrade to one of the patched versions immediately. The fixed versions are 19.5.6, 19.4.8, and 19.3.9.

The same release also fixed other authorization issues, including several in GitLab Duo and the Duo Agent Platform. GitLab credits the researcher ser9q, who reported the MCP flaw through its HackerOne bug bounty program. GitLab releases security fixes in scheduled patch releases twice a month on the second and fourth Wednesdays.

What it means

The vulnerability highlights risks in OAuth token scoping and authorization logic. MCP-scoped tokens are intended for specific integrations, but the flawed authorization checks allowed token holders to bypass intended access controls on critical code review workflows.

GitLab will make the issue details public on its issue tracker 90 days after the November 16, 2026 release, following its standard disclosure policy.

MCP and OAuth are a recurring weak spot as AI agents get access to developer platforms. See the token theft flaw in the mcp-go OAuth client and the n8n open redirect in MCP OAuth registration. New cases are tracked in our AI Security hub.

Sources

GitLab Patch Release 19.5.6, 19.4.8, 19.3.9 (GitLab Docs, November 16, 2026); NVD entry CVE-2026-123142; GitLab work item 631158.

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Editor's picks

  1. Georgia Tech’s Academic AI Playbook: 20 Lessons From 67 Real Courses, Free to Reuse
  2. Arcfront’s $1B Run Rate: What the AI Data Startup Confirms and What It Doesn’t
  3. GPT-6.2 Astra Tops Blueprint-Bench 2, 70% Above May Leader GPT-5.5
  4. Deutsche Telekom Puts 100 Million Euros Into Mistral for Sovereign AI in Germany
  5. Inkling 2 Mini: Thinking Machines’ Looped Open Model Tops Qwen on Coding Tests