CVE-2023-2001
GitLab vulnerability analysis and mitigation

Overview

A vulnerability was discovered in GitLab CE/EE (CVE-2023-2001) affecting multiple versions including all versions before 15.10.8, versions from 15.11 before 15.11.7, and versions from 16.0 before 16.0.2. The vulnerability was reported on March 15, 2023, and allows attackers to bypass tag protection mechanisms in GitLab repositories (GitLab Issue).

Technical details

The vulnerability allows attackers to spoof protected tags by exploiting a reference resolution flaw in GitLab's tag management system. When creating a tag with a specific reference format (refs/tags/), the system fails to properly enforce tag protection rules, resulting in unauthorized tag creation. While accessing the created tag directly results in a 404 error, the source code download feature still processes the malicious tag, falling back to the content of a similarly named branch (GitLab Issue).

Impact

The vulnerability enables attackers to bypass GitLab's tag protection mechanisms, potentially leading victims to download malicious code. This circumvention of security controls could result in unauthorized code distribution and compromise the integrity of protected repository content (GitLab Issue).

Exploitability

The vulnerability can be exploited by creating a branch with a specific name pattern and then creating a tag using the 'refs/tags/' prefix. The attack requires the attacker to have basic repository access permissions, though not necessarily the elevated permissions typically required for protected tag operations (GitLab Issue).

Mitigation and workarounds

GitLab has addressed this vulnerability in versions 15.10.8, 15.11.7, and 16.0.2. Users are advised to upgrade to these or later versions to protect against this security issue (CVE Details).

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-16553MEDIUM5.4
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJul 29, 2026
CVE-2026-6336MEDIUM5.3
  • GitLab logoGitLab
  • gitlab-rails-ce-fips-19.0
NoYesJul 29, 2026
CVE-2026-6267MEDIUM5.3
  • GitLab logoGitLab
  • gitlab-runner-fips-18.11
NoYesJul 29, 2026
CVE-2026-3093MEDIUM4.7
  • GitLab logoGitLab
  • gitlab
NoYesJul 29, 2026
CVE-2026-4672MEDIUM4.3
  • GitLab logoGitLab
  • gitlab-rails-ce-18.10
NoYesJul 29, 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