CVE-2025-5101 Details
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.
A vulnerability exists in GitLab CE/EE in all versions prior to 18.1.5, 18.2 prior to 18.2.5, and 18.3 prior to 18.3.1. Under certain conditions, this vulnerability could have allowed an authenticated attacker to inject malicious code that appears benign in the web interface. This was possible by exploiting the confusion between branches and tags during repository imports.
Users are advised to upgrade to GitLab CE/EE versions 18.1.5, 18.2.5, or 18.3.1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitlab.com/gitlab-org/gitlab/-/issues/545165 | [email protected] | Broken Link |
| https://hackerone.com/reports/3124199 | [email protected] | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitlab gitlab | < 18.1.5 >= 18.2.0, < 18.2.5 18.3.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 2, 2025 | Initial Analysis | [email protected] |
| Aug 27, 2025 | New CVE Received | [email protected] |