CVE-2026-1230 Use of Incorrectly-Resolved Name or Reference in GitLab
Authenticated users can download repositories containing code different from the web interface due to incorrect branch reference validation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-1230?
CVE-2026-1230 is a medium-severity vulnerability in Gitlab Gitlab, published on 11 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-706
Which versions are affected by CVE-2026-1230?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 1.0.0 | 18.7.6, 18.8.6, 18.9.2 |
Products include Gitlab Gitlab.
How do I fix CVE-2026-1230?
Upgrade gitlab to a fixed version for your release line: 18.7.6, 18.8.6 or 18.9.2.
Is CVE-2026-1230 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-1230 exists.
Other vulnerabilities in Gitlab Gitlab
- CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound
- CVE-2026-85706 GitLab Community Edition and Enterprise Edition Path Traversal
- CVE-2023-7028 GitLab Community and Enterprise Editions Improper Access Control
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)
Sources
Also known as BIT-gitlab-2026-1230, GHSA-6hv2-5mwg-mjjf, UBUNTU-CVE-2026-1230.