An issue has been discovered in GitLab CE/EE affecting all versions starting with 12.3. Under certain conditions it was possible to bypass the IP restriction for public projects through GraphQL allowing unauthorised users to read titles of issues, merge requests and milestones.
https://gitlab.com/gitlab-org/gitlab/-/issues/348411
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0172.json