CVE-2023-5226
Improper Control of Generation of Code ('Code Injection') in GitLab
- State
- Published
- Severity
- 4.8 Medium
- Published
- Dec 1, 2023
- Updated
- Aug 14, 2026
- Reserved
- Sep 27, 2023
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.8 Medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N | GitLab |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
GitLabGitLab |
|
References
- GitLab Issue #426400issue-tracking
- HackerOne Bug Bounty Report #2173053technical-descriptionexploitpermissions-requiredbroken-link
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.