Skip to content
CVE PROGRAM SOURCE RECORD5.0 Medium

CVE-2025-5101

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

Description

An issue has been discovered in GitLab CE/EE affecting all versions before 18.1.5, 18.2 before 18.2.5, and 18.3 before 18.3.1 that under certain conditions could have allowed an authenticated attacker to distribute malicious code that appears harmless in the web interface by taking advantage of ambiguity between branches and tags during repository imports.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

GitLab GitLab

Default version status: unaffected

  • 0 to < 18.1.5affected
  • 18.2 to < 18.2.5affected
  • 18.3 to < 18.3.1affected

References