An issue has been discovered in GitLab EE affecting all versions starting from 12.8 before 15.11.11, all versions starting from 16.0 before 16.0.7, all versions starting from 16.1 before 16.1.2. An attacker could change the name or path of a public top-level group in certain situations.
https://hackerone.com/reports/2035687
https://gitlab.com/gitlab-org/gitlab/-/issues/416773
https://about.gitlab.com/releases/2023/07/05/security-release-gitlab-16-1-2-released/