An issue has been discovered in GitLab CE/EE affecting all versions starting with 12.6. Under a special condition it was possible to access data of an internal repository through a public project fork as an anonymous user.
https://gitlab.com/gitlab-org/gitlab/-/issues/247523
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22200.json