CVE-2023-3401
Improper Control of Generation of Code ('Code Injection') in GitLab
- State
- Published
- Severity
- 4.8 Medium
- Published
- Aug 2, 2023
- Updated
- Aug 14, 2026
- Reserved
- Jun 26, 2023
Description
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.
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 #416252issue-tracking
- HackerOne Bug Bounty Report #2031845technical-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.