{"id":"CVE-2023-5226","published":"2023-12-01T07:01:43Z","modified":"2026-08-14T04:13:26Z","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","vendor":"GitLab","product":"GitLab","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00647,"percentile":0.45644,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/426400","tags":["issue-tracking"]},{"url":"https://hackerone.com/reports/2173053","tags":["technical-description","exploit","permissions-required","broken-link"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":9.13},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"gitlab","affectedVersions":[{"vendor":"GitLab","product":"GitLab","versions":["< 16.4.3",">= 16.5, < 16.5.3",">= 16.6, < 16.6.1"]}],"solutions":{"items":["Upgrade to versions 16.4.3, 16.5.3, 16.6.1 or above."],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2023-57555","exploited":false,"provenance":"source"},"exploitRefs":["https://hackerone.com/reports/2173053"]}