Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise developer-role account in target project
-
DeliveryCraft MR with specially named files exploiting diff parser
-
ExploitSubmit merge request for human review
-
ExecutionReviewer views manipulated diff with changes hidden
-
PersistReviewer approves MR without seeing hidden modifications
-
ImpactHidden 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
1DescriptionCVE.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
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-36228
GHSA-7mq5-3vcf-v96v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB