Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2023-3401

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

Medium4.8EPSS 0.58%
Published
Updated
Reserved
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.

Scores

CVSS scores of CVE-2023-3401, by who scored it
Scored byCVSSScoreVector
GitLabCNA (assigner)3.1Medium4.8CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
NVDNVD · Modified3.1Medium6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS (exploitation in 30 days)
0.58% · top 52% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.

Weakness

Affected products

  • GitLab · GitLab

    • affected < 16.0.8
    • affected 16.1.0 – < 16.1.3
    • affected 16.2.0 – < 16.2.2

What to do

Solution: Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2023-3401 badge
[![CVE-2023-3401](https://trackcve.app/badge/CVE-2023-3401.svg)](https://trackcve.app/cve/CVE-2023-3401)

Record last updated .