CVE-2021-4191 Information disclosure in GitLab
Unauthenticated attackers can enumerate users via GraphQL API on private GitLab instances with restricted sign-ups.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-4191?
CVE-2021-4191 is a medium-severity vulnerability in Gitlab Gitlab, published on 28 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue has been 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. Private GitLab instances with restricted sign-ups may be vulnerable to user enumeration to unauthenticated users through the GraphQL API.
Which versions are affected by CVE-2021-4191?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 13.0.0 | 14.6.5, 14.7.4, 14.8.2 |
Products include Gitlab Gitlab.
How do I fix CVE-2021-4191?
Upgrade gitlab to a fixed version for your release line: 14.6.5, 14.7.4 or 14.8.2.
Is CVE-2021-4191 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-4191 exists.
Public exploit code: 1 Metasploit module, 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in Gitlab Gitlab
- CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound
- CVE-2026-85706 GitLab Community Edition and Enterprise Edition Path Traversal
- CVE-2023-7028 GitLab Community and Enterprise Editions Improper Access Control
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)
Sources
Also known as BIT-gitlab-2021-4191, GHSA-m37q-w59j-4vr4, UBUNTU-CVE-2021-4191.