CVE-2023-6051

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

Published Dec 15, 2023 CVSS 3.1 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
An issue has been discovered in GitLab CE/EE affecting all versions before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when source code or installation packages are pulled from a specific tag.

Remediation

Vendor Solution

Upgrade to versions 16.6.2, 16.5.4, 16.4.4 or above.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-58308 An issue has been discovered in GitLab CE/EE affecting all versions before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when source code or installation packages are pulled from a specific tag.
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Nov 20, 2025, 4:11 AM
Reserved
Nov 9, 2023, 12:30 PM
Status
Modified
Published
Dec 15, 2023, 4:15 PM
Modified
Jun 17, 2026, 6:49 AM