An issue has been discovered in GitLab CE/EE affecting all versions from 8.6 before 15.9.6, all versions starting from 15.10 before 15.10.5, all versions starting from 15.11 before 15.11.1. File integrity may be compromised when source code or installation packages are pulled from a tag or from a release containing a ref to another commit.
https://hackerone.com/reports/1778009
https://gitlab.com/gitlab-org/gitlab/-/issues/381815
https://gitlab.com/gitlab-org/cves/-/blob/master/2023/CVE-2023-1178.json