CVE-2025-12506 Use of Incorrectly-Resolved Name or Reference in GitLab

Low 3.5 Published Updated

Authenticated users can create repositories where displayed content differs from downloadable content due to improper Git reference resolution.

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-2025-12506?

CVE-2025-12506 is a low-severity vulnerability in Gitlab Gitlab, published on 8 Jul 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 16.5 before 18.11.7, 19.0 before 19.0.4, and 19.1 before 19.1.2 that under certain conditions could have allowed an authenticated user to create a repository where the content displayed in the web interface differed from the content available for download, due to improper handling of Git reference name resolution.

Weakness: CWE-706

Which versions are affected by CVE-2025-12506?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 16.5.018.11.7, 19.0.4, 19.1.2

Products include Gitlab Gitlab.

How do I fix CVE-2025-12506?

Upgrade gitlab to a fixed version for your release line: 18.11.7, 19.0.4 or 19.1.2.

Is CVE-2025-12506 being exploited?

There is no known exploitation of CVE-2025-12506 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2025-12506, GHSA-h5pw-h3j7-cj7f, MINI-29h6-69qp-282f, MINI-2hjv-pxqg-qp86, MINI-36xf-vh8v-r46c, MINI-37f5-52jm-8v43 and 45 more.

Is CVE-2025-12506 in your software?

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

Check your SBOMs for free