Rapid7 Vulnerability & Exploit Database

GitLab GraphQL API User Enumeration

Back to Search

GitLab GraphQL API User Enumeration



This module queries the GitLab GraphQL API without authentication to acquire the list of GitLab users (CVE-2021-4191). The module works on all GitLab versions from 13.0 up to 14.8.2, 14.7.4, and 14.6.5.


  • jbaines-r7
  • mungsul


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/http/gitlab_graphql_user_enum
msf auxiliary(gitlab_graphql_user_enum) > show actions
msf auxiliary(gitlab_graphql_user_enum) > set ACTION < action-name >
msf auxiliary(gitlab_graphql_user_enum) > show options
    ...show and set options...
msf auxiliary(gitlab_graphql_user_enum) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security