An issue has been discovered in GitLab CE/EE affecting all versions before 15.5.7, all versions starting from 15.6 before 15.6.4, all versions starting from 15.7 before 15.7.2. A race condition can lead to verified email forgery and takeover of third-party accounts when using GitLab as an OAuth provider.
https://hackerone.com/reports/1772543
https://gitlab.com/gitlab-org/gitlab/-/issues/382957
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4037.json