CVE-2025-12506 Use of Incorrectly-Resolved Name or Reference in GitLab
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.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 16.5.0 | 18.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.
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-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.