CVE-2025-12506
Use of Incorrectly-Resolved Name or Reference in GitLab
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.
INFO
Published Date :
July 8, 2026, 9:16 p.m.
Last Modified :
July 9, 2026, 8:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | LOW | ceab7361-8a18-47b1-92ba-4d7d25f6715a | ||||
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update GitLab to version 18.11.7 or later.
- Update GitLab to version 19.0.4 or later.
- Update GitLab to version 19.1.2 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-12506.
| URL | Resource |
|---|---|
| https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/ | Vendor Advisory |
| https://gitlab.com/gitlab-org/gitlab/-/work_items/578988 | Broken Link |
| https://hackerone.com/reports/3351460 | Permissions Required |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-12506 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-12506
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-12506 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-12506 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 09, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 19.0.0 up to (excluding) 19.0.4 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 19.1.0 up to (excluding) 19.1.2 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 19.0.0 up to (excluding) 19.0.4 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 19.1.0 up to (excluding) 19.1.2 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 16.5.0 up to (excluding) 18.11.7 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.5.0 up to (excluding) 18.11.7 Added Reference Type GitLab Inc.: https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/ Types: Vendor Advisory Added Reference Type GitLab Inc.: https://gitlab.com/gitlab-org/gitlab/-/work_items/578988 Types: Broken Link Added Reference Type GitLab Inc.: https://hackerone.com/reports/3351460 Types: Permissions Required -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 09, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-12506', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-09T13:53:19.849180Z'} -
New CVE Received by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*'], 'repo': 'git://[email protected]:gitlab-org/gitlab.git', 'vendor': 'GitLab', 'product': 'GitLab', 'versions': [{'status': 'affected', 'version': '16.5', 'lessThan': '18.11.7', 'versionType': 'semver'}, {'status': 'affected', 'version': '19.0', 'lessThan': '19.0.4', 'versionType': 'semver'}, {'status': 'affected', 'version': '19.1', 'lessThan': '19.1.2', 'versionType': 'semver'}], 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N Added CWE CWE-706 Added Reference https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/ Added Reference https://gitlab.com/gitlab-org/gitlab/-/work_items/578988 Added Reference https://hackerone.com/reports/3351460