Skip to main content
← All vulnerabilities
CVE-2025-5101

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 18.1.5, 18.2.5, 18.3.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • GitLab GitLab

    fixed in 18.1.5; From 18.2 · fixed in 18.2.5; From 18.3 · fixed in 18.3.1

References 2

gitlab.com

hackerone.com