CVE-2026-1230
Received Received - Intake
Branch Reference Validation Flaw in GitLab Causes Code Mismatch

Publication date: 2026-03-11

Last updated on: 2026-03-17

Assigner: GitLab Inc.

Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 1.0 before 18.7.6, 18.8 before 18.8.6, and 18.9 before 18.9.2 that could have allowed an authenticated user to cause repository downloads to contain different code than displayed in the web interface due to incorrect validation of branch references under certain circumstances.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-11
Last Modified
2026-03-17
Generated
2026-06-16
AI Q&A
2026-03-11
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 6 associated CPEs
Vendor Product Version / Range
gitlab gitlab From 18.8.0 (inc) to 18.8.6 (exc)
gitlab gitlab From 18.9.0 (inc) to 18.9.2 (exc)
gitlab gitlab From 18.8.0 (inc) to 18.8.6 (exc)
gitlab gitlab From 18.9.0 (inc) to 18.9.2 (exc)
gitlab gitlab From 1.0.0 (inc) to 18.7.6 (exc)
gitlab gitlab From 1.0.0 (inc) to 18.7.6 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-706 The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in GitLab CE/EE affects versions before 18.7.6, 18.8.6, and 18.9.2. It allows an authenticated user to cause repository downloads to contain different code than what is displayed in the web interface. This happens due to incorrect validation of branch references under certain circumstances.

Impact Analysis

The impact of this vulnerability is that an authenticated user could download repository code that differs from what is shown on the web interface. This could lead to confusion, mistrust, or potential misuse of code if the downloaded version contains unexpected or malicious changes.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, you should upgrade GitLab CE/EE to a fixed version. Specifically, update to version 18.7.6 or later if you are on the 18.7 branch, 18.8.6 or later if on the 18.8 branch, or 18.9.2 or later if on the 18.9 branch.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-1230. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart