CVE-2021-22249
GitLab vulnerability analysis and mitigation

Overview

A vulnerability in GitLab Enterprise Edition (EE) affecting all versions since 12.2 was identified where a verbose error message could disclose the private email address of a user invited to a group. The vulnerability was assigned CVE-2021-22249 and was discovered in May 2021 (GitLab Issue).

Technical details

The vulnerability occurs when domain restrictions are enabled for group memberships. When attempting to invite a user with private email settings to a group with domain restrictions, the system generates an error message that inadvertently reveals the user's private email address. This vulnerability specifically affects GitLab Enterprise Edition installations where group administrators have configured email domain restrictions (GitLab Issue).

Impact

The primary impact of this vulnerability is the unauthorized disclosure of users' private email addresses. This breach of privacy affects users who have specifically configured their email addresses to be private, undermining GitLab's privacy controls and potentially exposing sensitive contact information (GitLab Issue).

Mitigation and workarounds

The issue was reported through GitLab's bug bounty program on HackerOne and subsequently addressed by GitLab. Users are advised to update to a patched version of GitLab Enterprise Edition (HackerOne Report).

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-2025-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-11224HIGH7.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 14, 2026
CVE-2026-0723HIGH7.4
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 20, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 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