Skip to content
OpenAdvisories
Medium · 4.8 CVE-2023-3401 EUVD-2023-44068GHSA-722v-49rj-hh57

Improper Control of Generation of Code ('Code Injection') in GitLab

Published Aug 2, 2023 · Updated Aug 14, 2026 · Assigned by GitLab

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.

Affected products

VendorProductAffectedFixed
GitLab GitLab < 16.0.8, 16.1.0 – < 16.1.3, 16.2.0 – < 16.2.2 16.0.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS gitlab No fix yet —

Advisories 2

References