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

Published Jul 8, 2026
·
Updated

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.

Affected Software

7 affected components
GitLab GitLab>=undefined, >=undefined, >=undefined
GitLab GitLab>=16.5.0<18.11.7
GitLab GitLab>=16.5.0<18.11.7
GitLab GitLab>=19.0.0<19.0.4
GitLab GitLab>=19.0.0<19.0.4
GitLab GitLab>=19.1.0<19.1.2
GitLab GitLab>=19.1.0<19.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.11.7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 19.0.4
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 19.1.2

Event History

Jul 8, 2026
CVE Published
via MITRE·08:47 PM
Data Sourced
via MITRE·08:47 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-12506?

CVE-2025-12506 has a medium severity rating of 4.3.

2

How do I fix CVE-2025-12506?

To remediate CVE-2025-12506, update GitLab to version 18.11.7, 19.0.4, or 19.1.2 or later.

3

Who is affected by CVE-2025-12506?

CVE-2025-12506 affects all versions of GitLab from 16.5 before versions 18.11.7, 19.0 before 19.0.4, and 19.1 before 19.1.2.

4

What type of attack is described by CVE-2025-12506?

CVE-2025-12506 allows an authenticated user to create a repository with displayed content that differs from the actual content.

5

When was CVE-2025-12506 published?

CVE-2025-12506 was published on July 8, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203