Description
An issue was discovered in GitLab EE affecting all versions from 16.5 prior to 17.7.7, 17.8 prior to 17.8.5, and 17.9 prior to 17.9.2 which allowed a user with a custom permission to approve pending membership requests beyond the maximum number of allowed users.
Problem types
CWE-863: Incorrect Authorization
Product status
16.5 (semver) before 17.7.7
17.8 (semver) before 17.8.5
17.9 (semver) before 17.9.2
Credits
Thanks [ashish_r_padelkar](https://hackerone.com/ashish_r_padelkar) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/475056 (GitLab Issue #475056)
hackerone.com/reports/2602274 (HackerOne Bug Bounty Report #2602274)