Skip to main content

GitLab EUVDEUVD-2026-36228

| CVE-2026-6976 LOW
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-06-11 GitLab GHSA-7mq5-3vcf-v96v
3.7
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Obtain or compromise developer-role account in target project
  2. Delivery
    Craft MR with specially named files exploiting diff parser
  3. Exploit
    Submit merge request for human review
  4. Execution
    Reviewer views manipulated diff with changes hidden
  5. Persist
    Reviewer approves MR without seeing hidden modifications
  6. Impact
    Hidden code silently merged into target branch

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires the attacker to hold at minimum a developer-role membership within the target GitLab project (PR:L - authenticated low-privilege); unauthenticated or guest/reporter-role users cannot exploit this vulnerability. The attack triggers only under 'certain conditions' per GitLab's advisory language, and the CVSS AC:H metric confirms that specific, non-trivial file naming patterns are required beyond attacker control alone - the exact triggering conditions are not fully disclosed in publicly available data. A reviewer (human) must actively view the manipulated diff for the bypass to be effective (UI:R - passive victim interaction required). Factors limiting exploitation: the attacker must already be a legitimate project contributor, the triggering file-name conditions are partially undisclosed raising the technical barrier, and the bypass is only effective during the code review window before merge. There is no indication this vulnerability is exploitable against default configurations without developer-role access.

Impact

The official CVSS 3.1 score of 3.7 materially understates the practical security impact for organizations that rely on GitLab merge request reviews as a code-quality or security gatekeeping control. C:L/I:L reflects narrow per-instance data impact, but the actual threat is subversion of the human review process - enabling a malicious insider or a compromised developer account to introduce unauthorized code changes without reviewer scrutiny, a supply chain integrity concern. EPSS data is not provided in the available dataset; given the AC:H complexity requirement and UI:R interaction dependency, widespread automated exploitation is unlikely, suggesting targeted use by motivated insiders rather than opportunistic mass exploitation. The POC's public availability on HackerOne lowers the technical bar considerably. The CVE is absent from CISA KEV, confirming no confirmed in-the-wild exploitation at time of analysis. The 'certain conditions' qualifier in the GitLab advisory and the AC:H metric indicate specific file-naming patterns are required - not every developer-authored MR is automatically exploitable. SSVC assessment: exploitation status is 'proof of concept,' attack is not trivially automatable (AC:H, UI:R), but technical impact on code integrity is high in security-sensitive repositories, warranting prioritized patching for self-managed instances.

Exploit ScenarioDerived

A developer with legitimate repository access crafts a merge request containing one or more files whose names exploit the improper input handling to cause GitLab's diff view to omit or misrepresent those files' changes when a reviewer inspects the MR. The reviewer, seeing an apparently complete and innocuous diff, approves the merge request, while the hidden code modifications - potentially malicious backdoors, dependency tampering, or authorization bypasses - are silently merged into the target branch. A publicly available exploit report on HackerOne (#3638136) demonstrates this technique, significantly lowering the skill barrier for insider threats or attackers who have compromised a developer credential.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 11, 2026

Merge request diff manipulation in GitLab CE/EE allows authenticated users with developer-role permissions to hide file changes from code reviewers by exploiting improper input handling of file names, undermining the integrity of the code review process. Publicly available exploit code exists via HackerOne report #3638136 (tagged 'exploit' in vendor references), though no confirmed active exploitation has been recorded in CISA KEV. The vulnerability spans a broad version range from 15.9 through the patched releases, meaning self-managed GitLab deployments without current patch levels are at risk from malicious insiders or compromised developer accounts bypassing review gates.

RemediationAI

Upgrade self-managed GitLab CE/EE instances to 18.10.8, 18.11.5, or 19.0.2 as documented in the vendor patch release at https://about.gitlab.com/releases/2026/06/10/patch-release-gitlab-19-0-2-released/. GitLab.com deployments were patched by the vendor and require no customer action. For self-managed instances unable to patch immediately, the most actionable compensating control is to audit and restrict developer-role membership to verified, trusted personnel only - reducing the pool of accounts that could stage this attack. Requiring mandatory secondary or senior-reviewer approval before merge (configured via GitLab's protected branch rules and approval policies) adds a second human check that partially mitigates the risk of one reviewer being deceived. Note that these controls do not eliminate the vulnerability and carry the trade-off of increased review friction. Monitoring merge requests for anomalous or unusual file-naming patterns (e.g., files with control characters, homoglyphs, or non-standard Unicode) may surface exploitation attempts but is operationally intensive and not a reliable substitute for patching.

Affected VersionsENISA

GitLab 19.0 <19.0.2
GitLab 15.9 <18.10.8
GitLab 18.11 <18.11.5

Affected Packages

euvd gitlab fix: 18.10.8, 18.11.5, 19.0.2

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

GitLab CE/EE's merge request diff rendering engine uses file names as keys to build and present change views to code reviewers. CWE-639 (Authorization Bypass Through User-Controlled Key) describes exactly this failure mode: user-supplied input - here, file names crafted by the committing developer - is consumed without sufficient sanitization or validation, allowing that user to influence what data is surfaced in the authorization-adjacent diff display. The affected CPE (cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*) covers both Community Edition and Enterprise Edition deployments. The flaw persisting from version 15.9 onward suggests the vulnerable file-name handling logic has been present across many release cycles. The attack surface is GitLab's diff view pipeline, which transforms raw Git tree data into a human-readable reviewer interface - a layer that sits between the repository and the human code review gate.

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 3.7 LOW
AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 3.7 LOW

Developer-role authentication (PR:L), specific undisclosed file-naming conditions (AC:H), and passive reviewer interaction (UI:R) are all required; integrity impact from hidden code changes (I:L) with no availability effect.

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

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

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

Lifecycle Timeline

1
Patch available
Jun 11, 2026 - 13:01 EUVD

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.9 before 18.10.8, 18.11 before 18.11.5, and 19.0 before 19.0.2 that under certain conditions could have allowed an authenticated user with developer-role permissions to hide changes from merge request diff views due to improper input handling of file names.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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