In all versions of GitLab CE/EE since version 12.0, a lower privileged user can import users from projects that they don't have a maintainer role on and disclose email addresses of those users.
Credits
Thanks @ashish_r_padelkar for reporting this vulnerability through our HackerOne bug bounty program