GitLab CE/EE, versions 10.1 up to 11.x before 11.3.11, 11.4 before 11.4.8, and 11.5 before 11.5.1, are vulnerable to an insecure direct object reference issue that allows a user to make comments on a locked issue.
https://gitlab.com/gitlab-org/gitlab-ce/issues/52523
https://about.gitlab.com/2018/11/28/security-release-gitlab-11-dot-5-dot-1-released/