An issue was discovered in GitLab CE/EE affecting all versions starting from 15.8 prior to 16.11.5, starting from 17.0 prior to 17.0.3, and starting from 17.1 prior to 17.1.1, which allows an attacker to trigger a pipeline as another user under certain circumstances.
https://thecyberthrone.in/2024/06/27/gitlab-addresses-several-vulnerabilities-june-2024/
https://hackerone.com/reports/2536320