CVE-2023-5226: Improper Control of Generation of Code ('Code Injection') in GitLab
An issue has been discovered in GitLab affecting all versions before 16.4.3, all versions starting from 16.5 before 16.5.3, all versions starting from 16.6 before 16.6.1. Under certain circumstances, a malicious actor bypass prohibited branch checks using a specially crafted branch name to manipulate repository content in the UI.
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is CVE-2023-5226?
CVE-2023-5226 is a vulnerability in GitLab that allows a malicious actor to bypass branch checks and execute code injection.
What versions of GitLab are affected by CVE-2023-5226?
All versions before 16.4.3, versions starting from 16.5 before 16.5.3, and versions starting from 16.6 before 16.6.1 are affected by CVE-2023-5226.
How can a malicious actor exploit CVE-2023-5226?
A malicious actor can bypass prohibited branch checks using a specially crafted branch name to manipulate code execution.
What is the severity of CVE-2023-5226?
CVE-2023-5226 has a severity rating of 7.5 (High).
Are there any references related to CVE-2023-5226?
Yes, you can find more information about CVE-2023-5226 at the following links: [GitLab issue](https://gitlab.com/gitlab-org/gitlab/-/issues/426400) and [HackerOne report](https://hackerone.com/reports/2173053).