Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Developer-role GitLab EE user
-
DeliveryCreate merge request targeting approval-protected branch
-
ExploitFire concurrent merge API requests in tight timing loop
-
ExecutionExploit TOCTOU gap in approval rule evaluation
-
ImpactMerge unauthorized code bypassing required reviewer sign-offs
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires all of the following: (1) GitLab EE deployment - not Community Edition - running an affected version (17.0-19.0.4, 19.1.0-19.1.2, or 19.2.0); (2) the target repository must have at least one protected branch configured with required approval rules - repositories without approval enforcement are not affected by this specific bypass; (3) the attacker must be an authenticated GitLab user with at minimum Developer-level role permissions on the project, confirmed by CVSS PR:L. Limiting factors: unauthenticated external attackers cannot exploit this; GitLab CE deployments are unaffected; repositories relying solely on branch push restrictions rather than merge-request approval rules are not exposed; the race condition nature implies exploitation is probabilistic and may require repeated attempts rather than a single deterministic request. |
| Impact | The vendor-assigned CVSS 3.1 score of 6.5 uses AC:L, which warrants independent scrutiny: race conditions by definition depend on precise timing of concurrent requests, suggesting AC:H is more appropriate - an independent assessment of CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N yields approximately 5.3. The vendor's AC:L may reflect that the race window is reliably triggerable with repeated attempts, but this is not confirmed in available data. No EPSS data was provided, and the vulnerability is absent from CISA KEV, indicating no confirmed active exploitation at time of analysis. The realistic threat actor is a malicious insider or a compromised developer account seeking to push unreviewed code - bypassing a control that organizations in SOC 2, PCI DSS, and similar compliance frameworks rely upon. This is not a remote unauthenticated attack surface; the risk is elevated in enterprises where approval workflows are the sole code integrity gate, and lower where additional controls (CI/CD scanning, separate deployment approvals) exist downstream. |
| Exploit ScenarioDerived | A Developer-role GitLab EE user submits a merge request against a protected branch that requires two approvals, then uses the GitLab REST or GraphQL API to fire concurrent merge-triggering requests in a tight timing loop, exploiting the gap between when GitLab reads the approval state and when it commits the merge. The repeated concurrent requests widen the TOCTOU window, eventually causing the merge to land before the approval rule enforcement resolves. No public POC code has been identified, and successful exploitation likely requires multiple attempts to hit the race window reliably. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Approval bypass in GitLab Enterprise Edition allows authenticated users to merge code into protected branches without satisfying required approval rules by exploiting a race condition in the approval rule processing pipeline. Affected deployments span GitLab EE versions 17.0 through 19.2, with fixed releases available at 19.0.5, 19.1.3, and 19.2.1. No public exploit code has been identified and the vulnerability is not listed in CISA KEV, though the integrity risk is significant in regulated environments where protected branch approvals serve as a primary code integrity control.
RemediationAI
Upgrade GitLab EE to version 19.0.5, 19.1.3, or 19.2.1 as appropriate for the installed minor version, per the vendor patch release at https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-1-released/ and the internal tracking item at https://gitlab.com/gitlab-org/gitlab/-/work_items/597838. As a compensating control pending upgrade, administrators should reduce the set of users holding the Developer role or higher on repositories with sensitive protected branches, minimizing the pool of accounts that can create and act on merge requests - this reduces exposure but does not eliminate the race condition. Additionally, enabling audit logging for merge events on protected branches allows detection of anomalous merges lacking the expected approval trail. Note that no workaround fully closes the race condition; patching is the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-367 (Time-of-check Time-of-use Race Condition) within GitLab EE's merge request approval rule processing engine. Protected branches in GitLab EE enforce approval policies - requiring a configurable number of sign-offs from designated reviewers before a merge is permitted. The flaw exists in the window between the approval-state check and the actual merge commit operation: under certain concurrency conditions, a merge can be finalized before approval rules are fully evaluated and enforced, allowing the merge to proceed in an unapproved state. This is an enterprise-only feature (CE does not have configurable approval rules of this kind), scoped by CPE cpe:2.3:a:gitlab:gitlab across the version ranges identified by EUVD-2026-50481. The CVSS vector AV:N/PR:L correctly identifies this as a network-reachable, authenticated-user vulnerability with no confidentiality or availability impact - only integrity.
Know when Gitlab gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Race condition exploitation requires precise concurrent timing, warranting AC:H; PR:L reflects mandatory authentication; C:N and A:N match the integrity-only impact.
Primary rating from Vendor (GitLab).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
GitLab has remediated an issue in GitLab EE affecting all versions from 17.0 before 19.0.5, 19.1 before 19.1.3, and 19.2 before 19.2.1 that under certain conditions could have allowed an authenticated user to merge code into a protected branch without the required approvals due to a race condition in approval rule processing.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)
The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x
A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
EUVD-2026-50481
GHSA-629v-rwjx-m485
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB