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.
Quick Take
- 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)
- 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
- What to do: Upgrade to GitLab 19.5.6, 19.4.8, or 19.3.9 immediately
- Status: Patches released November 16, 2026; GitLab.com already patched
- 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.



