CVE-2026-6976
Description
GitLab CE/EE allows authenticated developers to hide changes from merge request diff views via improper file name handling, affecting versions 15.9–19.0.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
GitLab CE/EE allows authenticated developers to hide changes from merge request diff views via improper file name handling, affecting versions 15.9–19.0.1.
Vulnerability
GitLab CE/EE versions 15.9 through 18.10.7, 18.11.0 through 18.11.4, and 19.0.0 through 19.0.1 are vulnerable to an input validation flaw in the handling of file names. An authenticated user with a developer role can craft a specific file name that, when included in a merge request, causes the diff view to omit the changes made in that file. This vulnerability results from improper input handling of file names in the merge request diff generation code.
Exploitation
An attacker must have an authenticated account with at least the Developer role in a GitLab project. The attacker creates a merge request containing a file with a specially crafted name that exploits the improper input handling. When other users or reviewers view the merge request diff, the changes in the crafted file are not displayed. No additional user interaction is required beyond normal code review workflows.
Impact
Successful exploitation allows an attacker to hide arbitrary changes from the merge request diff view. This can lead to malicious code being merged without detection by reviewers, compromising the integrity of the codebase. The attacker can inject backdoors, exfiltrate data, or introduce other vulnerabilities without immediate visibility. The privilege level required is Developer, which is relatively common in GitLab projects.
Mitigation
GitLab has released fixed versions: 18.10.8, 18.11.5, and 19.0.2, all published on 2026-06-10 [1]. All users running affected versions should upgrade immediately to the nearest patched release. No workarounds have been provided by the vendor. This vulnerability is not known to be listed in CISA's Known Exploited Vulnerabilities catalog as of publication.
AI Insight generated on Jun 11, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: >=15.9, <18.10.8; >=18.11, <18.11.5; >=19.0, <19.0.2
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
1- GitLab Patch Release: 19.0.2, 18.11.5, 18.10.8GitLab Security Releases · Jun 10, 2026