Skip to main content

GitLab CE/EE EUVDEUVD-2025-210442

| CVE-2025-12506 MEDIUM
Use of Incorrectly-Resolved Name or Reference (CWE-706)
2026-07-08 cve@gitlab.com GHSA-h5pw-h3j7-cj7f
4.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to GitLab as low-privilege user
  2. Delivery
    Create repository with crafted Git reference names
  3. Exploit
    Victim opens repository in GitLab web UI
  4. Execution
    Web UI resolves reference incorrectly, renders spoofed content
  5. Persist
    Victim approves or acts on misleading display
  6. Impact
    Downstream clone retrieves divergent actual content

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrectly specified target
Exploitation Conditions

Exploitation requires an authenticated GitLab user account with permission to create repositories (corresponding to PR:L in the CVSS vector). The vulnerability is additionally gated by 'certain conditions' involving specific Git reference name construction patterns - the exact triggering configuration is not publicly detailed in available references and is likely withheld pending broader patch adoption. A second user must actively view the repository via the GitLab web interface (UI:R) for the integrity mismatch to have practical deceptive effect; merely hosting the repository is insufficient. No non-default configuration or elevated administrative role is confirmed as required for the creator role. Limiting factors include: the requirement for the attacker to already be an authenticated GitLab member with repository creation rights, the need for a victim to interact with the web UI rather than relying solely on git clone, and the unspecified 'certain conditions' that constrain which reference naming patterns are exploitable.

Impact

The CVSS 3.5 (Low) score is well-calibrated for this vulnerability. The network attack vector (AV:N) is offset by the authentication requirement (PR:L) and mandatory user interaction (UI:R), meaning exploitation requires both a malicious authenticated actor and a victim who actively views the crafted repository via the web UI. The integrity impact is low (I:L) with no confidentiality or availability component. No EPSS probability data was included in the provided intelligence, and the vulnerability carries no CISA KEV designation, indicating no confirmed active exploitation. The HackerOne report (3351460) is the likely upstream source but may not yet be fully public, leaving the precise triggering 'certain conditions' unconfirmed. Real-world priority should be LOW for most organizations - this is not a remote code execution or authentication bypass; it is a targeted deception mechanism requiring a cooperating victim. Organizations relying on GitLab for security-sensitive code review pipelines (e.g., regulated software supply chains) should treat this as higher priority given the integrity trust model at stake.

Exploit ScenarioDerived

An authenticated GitLab user with repository creation rights crafts a repository using Git reference names that trigger the flawed resolution logic, causing the web UI to render benign-looking source content while the actual cloneable content differs - for example, hiding a malicious dependency or backdoored function. A code reviewer auditing the repository via the GitLab web interface approves the merge based on the spoofed display, while downstream CI/CD pipelines or developers who clone the repository receive the divergent, potentially harmful content. No public POC has been identified, and exploitation requires constructing the specific reference naming pattern that triggers the flaw.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

Content spoofing in GitLab CE/EE versions 16.5 through 18.x, 19.0, and 19.1 allows authenticated users to construct repositories where the web interface renders content that diverges from the actual downloadable source, exploiting improper Git reference name resolution (CWE-706). The CVSS score of 3.5 (Low) reflects the authentication requirement (PR:L), mandatory viewer interaction (UI:R), and limited integrity-only impact with no confidentiality or availability consequences. No public exploit code or CISA KEV listing has been identified at time of analysis, placing real-world risk firmly in the low tier despite the broad version range affected.

RemediationAI

Upgrade GitLab CE/EE to version 18.11.7 (for the 18.x branch), 19.0.4 (for the 19.0 branch), or 19.1.2 (for the 19.1 branch), per the official GitLab patch release advisory at https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/. No documented workaround is referenced in available intelligence. For administrators unable to patch immediately, a compensating control is to restrict repository creation permissions to trusted users only, reducing the pool of actors who could construct a malicious repository - note this limits self-service repository creation and may require process changes. Additionally, critical code reviews should be supplemented by cloning the repository locally and comparing content rather than relying solely on the web UI rendering, eliminating the web-display attack surface until patched.

Affected VersionsENISA

GitLab 16.5 <18.11.7
GitLab 19.1 <19.1.2
GitLab 19.0 <19.0.4

Affected Packages

euvd gitlab fix: 18.11.7, 19.0.4, 19.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GitLab CE/EE implements server-side rendering of Git repository content by resolving branch names, tags, and other symbolic references to display file trees, diffs, and blob content in the web UI. CWE-706 (Use of Incorrectly-Resolved Name or Reference) identifies the root cause class: GitLab's Git reference name resolution logic can be manipulated so that the ref resolved for web display differs from the ref resolved for download or clone operations. This creates a content-display integrity gap exploitable for code review deception. The flaw spans a wide version range - all versions from 16.5 up to 18.11.7, 19.0 up to 19.0.4, and 19.1 up to 19.1.2 - covering the majority of actively maintained GitLab release branches. No CPE strings were provided in the input data; affected product scope is inferred from NVD version range data and the GitLab patch advisory.

Know when Gitlab gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 3.5 LOW

Authenticated low-privilege actor (PR:L) required to create crafted repo; victim must actively view via web UI (UI:R); impact is integrity-only content mismatch with no confidentiality or availability consequence.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

5
Severity Changed
Jul 09, 2026 - 20:22 NVD
LOW MEDIUM
CVSS changed
Jul 09, 2026 - 20:22 NVD
3.5 (LOW) 4.3 (MEDIUM)
Severity Changed
Jul 09, 2026 - 20:22 NVD
LOW MEDIUM
CVSS changed
Jul 09, 2026 - 20:22 NVD
3.5 (LOW) 4.3 (MEDIUM)
Patch available
Jul 08, 2026 - 22:04 EUVD

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
GitLab widely deployed across enterprises, open-source projects, and DevSecOps pipelines
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Gitlab

View all
CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2023-7028 CRITICAL POC
10.0 Jan 12

An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)

CVE-2013-4490 MEDIUM POC
6.5 May 13

The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows

CVE-2024-45409 CRITICAL POC
9.8 Sep 10

The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t

CVE-2026-110264 CRITICAL POC
10.0 Oct 22

Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy