An issue has been discovered in GitLab affecting all versions starting from 13.6 before 15.8.5, all versions starting from 15.9 before 15.9.4, all versions starting from 15.10 before 15.10.1, allowing to read environment names supposed to be restricted to project memebers only.
https://hackerone.com/reports/1817586
https://gitlab.com/gitlab-org/gitlab/-/issues/388096
https://gitlab.com/gitlab-org/cves/-/blob/master/2023/CVE-2023-0319.json