Skip to main content

GitLab EE EUVDEUVD-2026-50481

| CVE-2026-13113 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-07-29 GitLab GHSA-629v-rwjx-m485
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as Developer-role GitLab EE user
  2. Delivery
    Create merge request targeting approval-protected branch
  3. Exploit
    Fire concurrent merge API requests in tight timing loop
  4. Execution
    Exploit TOCTOU gap in approval rule evaluation
  5. Impact
    Merge 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

GitLab 17.0 <19.0.5
GitLab 19.2 <19.2.1
GitLab 19.1 <19.1.3

Affected Packages

euvd gitlab fix: 19.0.5, 19.1.3, 19.2.1

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

Vendor (GitLab) PRIMARY MEDIUM
NVD 5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitLab).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Aug 03, 2026 - 13:37 NVD
6.5 (MEDIUM) 5.3 (MEDIUM)
Patch available
Jul 29, 2026 - 20:02 EUVD
CVE Published
Jul 29, 2026 - 19:00 cve.org
MEDIUM 6.5

DescriptionNVD

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
widely deployed enterprise DevOps platform used globally across industries
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Gitlab

View all
CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2023-7028 CRITICAL POC
10.0 Jan 12

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.

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

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)

CVE-2013-4490 MEDIUM POC
6.5 May 13

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

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

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

CVE-2024-45409 CRITICAL POC
9.8 Sep 10

The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t

CVE-2026-110264 CRITICAL POC
10.0 Oct 22

Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

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

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy