CVE-2023-3401 MEDIUM

CVE-2023-3401: Improper Control of Generation of Code ('Code Injection') in GitLab

Vendor Gitlab
Product GitLab
Weakness CWE-94 · Code injection
Published August 2, 2023
Last update November 20, 2025

CVSS base score

4.8/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 2, 2023 CVE published
November 20, 2025 Record updated