Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-5101
August 27, 2025
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 Packages
https://gitlab.com/gitlab-org/gitlab.git (SCM_GIT):
Affected version(s) >=v18.2.0-ee <v18.2.5-ee
Fix Suggestion:
Update to version v18.2.5-ee
https://gitlab.com/gitlab-org/gitlab.git (SCM_GIT):
Affected version(s) =v18.3.0-ee <v18.3.1-ee
Fix Suggestion:
Update to version v18.3.1-ee
https://gitlab.com/gitlab-org/gitlab.git (SCM_GIT):
Affected version(s) >=v1.0.2 <v18.1.5-ee
Fix Suggestion:
Update to version v18.1.5-ee
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.6
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
5
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
HIGH
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.01