VYPR
Unrated severityNVD Advisory· Published Aug 2, 2023· Updated Nov 20, 2025

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

CVE-2023-3401

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

3
  • GitLab Inc./GitLabv52 versions
    cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*range: 0
    • (no CPE)range: >=0 <16.0.8 || >=16.1.0 <16.1.3 || >=16.2.0 <16.2.2
  • osv-coords
    Range: < 16.0.8

Patches

Vulnerability mechanics

References

2

News mentions

2