GitLab has released security patches to address a critical vulnerability that allows threat actors to run pipeline jobs as any user through scheduled security scan policies.
GitLab Enterprise Edition (EE) versions 13.12 to 16.2.7 and versions 16.3 to 16.3.4 are affected by a flaw that enables threat actors to change the policy file author using a specific command. This allows them to hijack pipeline permissions and gain access to private repositories . Exploiting this vulnerability can lead to unauthorized access to sensitive information, source code modification, or execution of arbitrary code . The security researcher Johan Carlsson (aka joaxcar) discovered and reported this flaw on September 19, 2023, through the GitLab HackerOne bug bounty program . GitLab strongly recommends updating to the latest version to mitigate the risk . To reduce the risk , users are advised not to enable both the ‘Direct Transfers’ and ‘Security Policies’ features concurrently on earlier versions of GitLab . The impact of this bypass is significant  , with a base score of 9.6 . More information can be found in the GitLab issue and the HackerOne report .
This vulnerability in GitLab EE versions 13.12 to 16.2.7 and versions 16.3 to 16.3.4 allows threat actors to run pipeline jobs as any user by exploiting scheduled security scan policies , bypassing CVE-2023-3932    . The impact of this vulnerability is significant, with potential unauthorized access to sensitive information , source code manipulation, and execution of arbitrary code . GitLab has released security patches and strongly advises users to update to the latest version to mitigate the risk. It is also recommended to avoid enabling both the ‘Direct Transfers’ and ‘Security Policies’ features concurrently on earlier versions of GitLab . This incident highlights the importance of regular security updates and the need for vigilance in protecting sensitive data and source code.