CVE-2021-4191
GitLab vulnerability analysis and mitigation

Overview

CVE-2021-4191 is a vulnerability discovered in GitLab CE/EE affecting versions 13.0 to 14.6.5, 14.7 to 14.7.4, and 14.8 to 14.8.2. The vulnerability allows unauthenticated users to enumerate user information through the GraphQL API on private GitLab instances with restricted sign-ups (MITRE CVE, Rapid7 Blog).

Technical details

The vulnerability stems from a missing authentication check when executing certain GitLab GraphQL API queries at the /api/graphql endpoint. The issue allows remote, unauthenticated attackers to collect registered GitLab usernames, names, and email addresses. The vulnerability has been assigned a CVSSv3 base score of 5.3 (Rapid7 Blog).

Impact

The information leak allows attackers to recover usernames, names, and sometimes email addresses of GitLab users. While seemingly low-stakes, this account discovery can be leveraged for various brute-force attacks, including password guessing, password spraying, and credential stuffing. The vulnerability could also be used to create username wordlists from both gitlab.com and approximately 50,000 other internet-accessible GitLab instances (Rapid7 Blog).

Mitigation and workarounds

Organizations are advised to ensure their GitLab instances are not publicly accessible unless intended as a public resource. Users should update to the latest versions (14.8.2, 14.7.4, and 14.6.5). Additionally, disabling public profiles is recommended by going to Admin Area -> General -> Visibility and access controls -> Restricted visibility levels and checking the box next to 'Public' (Rapid7 Blog).

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-13761HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 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