Improper access control in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2023-5226
Published: December 1, 2023
Vulnerability details
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to improper access restrictions within the main branch of a repository with a specially designed name. A remote user can use a specially crafted branch name to bypass prohibited branch checks and manipulate repository content in the UI.
Affected software
GitLab Enterprise Edition
How to mitigate CVE-2023-5226
GitLab Enterprise Edition - addressed in versions 16.4.3, 16.5.3, 16.6.1