Description
An issue has been discovered in GitLab affecting all versions prior to 16.2.7, all versions starting from 16.3 before 16.3.5, and all versions starting from 16.4 before 16.4.1. It was possible for a removed project member to write to protected branches using deploy keys.
Problem types
CWE-863: Incorrect Authorization
Product status
Any version
16.3 (semver) before 16.3.5
16.4 (semver) before 16.4.1
Credits
Thanks [theluci](https://hackerone.com/theluci) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/416957 (GitLab Issue #416957)
hackerone.com/reports/2041789 (HackerOne Bug Bounty Report #2041789)
gitlab.com/gitlab-org/gitlab/-/issues/416957 (GitLab Issue #416957)
hackerone.com/reports/2041789 (HackerOne Bug Bounty Report #2041789)