patchminder
Weaponized · Metasploit CVE-2021-4191

Vulnerabilityin GitLab.

Published 28 Mar 2022 · Updated 3 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Medium 5.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 80.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 14.6.5, 14.7.4, 14.8.2
In plain words

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.

What to do now
  • Upgrade GitLab to 14.6.5, 14.7.4, 14.8.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
GitLab
14.8 to before 14.8.2
14.8.2
CVE record
GitLab
14.7 to before 14.7.4
14.7.4
CVE record
GitLab
13.0 to before 14.6.5
14.6.5
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 30 Dec 2021
    CVE ID reserved by GitLab.
  2. 25 Feb 2022
    Metasploit module: GitLab GraphQL API User Enumeration.
  3. 28 Mar 2022
    Published in the CVE List.
  4. 5 Jun 2023
    First public proof of concept on GitHub.
  5. 3 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
2 repositories
NucleiGitLab GraphQL API User Enumerationdetection template
GitHubno warning signs foundK3ysTr0K3R/CVE-2021-4191-EXPLOIT9 stars · created 22 Jul 2023A PoC exploit for CVE-2021-4191 · GitLab User Enumeration.
GitHubno warning signs foundAdelittle/CVE-2021-4191_Exploits0 stars · created 5 Jun 2023

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other GitLab vulnerabilities

References
Cite this page

Patchminder. CVE-2021-4191: Vulnerability in GitLab. https://patchminder.com/cve/cve-2021-4191/ (accessed 5 December 2026).