CVE-2023-3401

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

Published Aug 2, 2023 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-44068 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Aug 14, 2026, 4:11 AM
Reserved
Jun 26, 2023, 10:17 AM
Status
Modified
Published
Aug 2, 2023, 9:15 AM
Modified
Jun 17, 2026, 6:14 AM