An issue has been discovered in the Import functionality of GitLab CE/EE affecting all versions starting from 14.4 before 15.2.5, all versions starting from 15.3 before 15.3.4, all versions starting from 15.4 before 15.4.1. It was possible for an authenticated user to read arbitrary projects' content given the project's ID.
https://hackerone.com/reports/1685822
https://gitlab.com/gitlab-org/gitlab/-/issues/372165
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3067.json