CVE-2025-5101: Improper Control of Generation of Code ('Code Injection') in GitLab
Medium · CVSS 5.0 (CVSS 3.1)EPSS 0.13%, 2th percentilePublished Updated Assigner: 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.
Vector CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N · CWE-94
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
GitLab: GitLab
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- gitlab.com/gitlab-org/gitlab/-/issues/545165 (opens in new tab)
- hackerone.com/reports/3124199 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)