CVE-2025-12704
GitLab vulnerability analysis and mitigation

Overview

CVE-2025-12704 is an incorrect authorization vulnerability in GitLab Enterprise Edition (EE) affecting the Virtual Registry feature. It allows authenticated users to access Virtual Registry data belonging to groups they are not members of due to improper authorization checks under certain conditions. The vulnerability affects GitLab EE versions 18.2 through 18.7.5, 18.8.0 through 18.8.5, and 18.9.0 through 18.9.1. It was disclosed and patched on March 11, 2026, with a CVSS v3.1 base score of 3.5–4.3 (Low/Medium) (GitLab Advisory, Red Hat CVE).

Technical details

The root cause is classified as CWE-862 (Missing Authorization), where the Virtual Registry access control logic fails to properly verify group membership under certain conditions (Red Hat CVE). An authenticated, low-privileged attacker can exploit this over the network without user interaction by making requests to Virtual Registry endpoints associated with groups they do not belong to. The vulnerability was reported by researcher "mateuszek" through GitLab's HackerOne bug bounty program, and the underlying issue is tracked internally at GitLab work item 579534 (GitLab Advisory).

Impact

Successful exploitation results in unauthorized read access to Virtual Registry data in groups where the attacker is not a member, constituting a confidentiality breach. The impact is limited to information disclosure — there is no integrity or availability impact. Sensitive registry metadata or artifacts stored in affected groups could be exposed to unauthorized authenticated users within the same GitLab instance (GitLab Advisory, Red Hat CVE).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Red Hat CVE). The EPSS score is approximately 0.012% (0.000120), indicating a very low probability of exploitation in the near term. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Mitigation and workarounds

GitLab has released patched versions addressing this vulnerability: upgrade to GitLab EE 18.7.6 (for versions 18.2.x–18.7.x), 18.8.6 (for versions 18.8.x), or 18.9.2 (for versions 18.9.x). GitLab.com and GitLab Dedicated customers are not affected and do not need to take action. Self-managed GitLab EE administrators should upgrade immediately; no configuration-based workaround has been published (GitLab Advisory). As a precautionary measure, administrators should review Virtual Registry access logs for any anomalous cross-group access during the vulnerability window (from GitLab EE 18.2 onward).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19478CRITICAL9.4
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 17, 2026
CVE-2026-10053HIGH8.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 23, 2026
CVE-2026-19650HIGH7.1
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 17, 2026
CVE-2026-6821MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 12, 2026
CVE-2026-4879MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management