CVE-2026-1230 Use of Incorrectly-Resolved Name or Reference in GitLab

Medium 4.1 Published Updated

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.

PackageAffectedFixed in
gitlab BitnamiFrom 1.0.018.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.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2026-1230, GHSA-6hv2-5mwg-mjjf, UBUNTU-CVE-2026-1230.

Is CVE-2026-1230 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free