{"id":"CVE-2023-3401","published":"2023-08-02T08:30:48Z","modified":"2026-08-14T04:11:00Z","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.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code.","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.00583,"percentile":0.48778,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252","tags":["issue-tracking"]},{"url":"https://hackerone.com/reports/2031845","tags":["technical-description","exploit","permissions-required","broken-link"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":9.76},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"gitlab","affectedVersions":[{"vendor":"GitLab","product":"GitLab","versions":["< 16.0.8",">= 16.1.0, < 16.1.3",">= 16.2.0, < 16.2.2"]}],"solutions":{"items":["Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-07-24T13:55:12.534381Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-44068","exploited":false,"provenance":"source"},"exploitRefs":["https://hackerone.com/reports/2031845"]}