Description
An issue has been discovered in GitLab EE affecting all versions starting from 16.5 before 16.7.6, all versions starting from 16.8 before 16.8.3, all versions starting from 16.9 before 16.9.1. When a user is assigned a custom role with admin_group_member permission, they may be able to make a group, other members or themselves Owners of that group, which may lead to privilege escalation.
Problem types
CWE-266: Incorrect Privilege Assignment
Product status
16.5 (semver) before 16.7.6
16.8 (semver) before 16.8.3
16.9 (semver) before 16.9.1
Credits
Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/433463 (GitLab Issue #433463)
hackerone.com/reports/2270898 (HackerOne Bug Bounty Report #2270898)
gitlab.com/gitlab-org/gitlab/-/issues/433463 (GitLab Issue #433463)
hackerone.com/reports/2270898 (HackerOne Bug Bounty Report #2270898)