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-05-07
AI Q&A
2026-03-11
EPSS Evaluated
2026-05-05
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart