An issue has been discovered in GitLab affecting all versions starting from 11.10 before 15.8.5, all versions starting from 15.9 before 15.9.4, all versions starting from 15.10 before 15.10.1. It was possible to disclose the branch names when attacker has a fork of a project that was switched to private.
https://hackerone.com/reports/1710533
https://gitlab.com/gitlab-org/gitlab/-/issues/376041
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3375.json