An issue has been discovered in GitLab affecting all versions starting from 12.0 before 14.4.5, all versions starting from 14.5.0 before 14.5.3, all versions starting from 14.6.0 before 14.6.2. GitLab was not verifying that a maintainer of a project had the right access to import members from a target project.
https://hackerone.com/reports/1356100
https://gitlab.com/gitlab-org/gitlab/-/issues/345564
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0125.json