RCE in Gitlab
CVE-2025-5101
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.001 (2.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N.
Affected products
- Gitlab — versions 18.3, 18.3.0, 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@gitlab.com (issue-tracking, permissions-required, Broken Link)
- cve@gitlab.com (Permissions Required, technical-description, permissions-required, exploit)
Frequently asked questions
- What is CVE-2025-5101?
- CVE-2025-5101 is a medium-severity vulnerability in Gitlab, classified under Code Injection. CVSS score: 5.0/10. Published 2025-08-27.
- How severe is CVE-2025-5101?
- Medium severity. CVSS v3 base score is 5.0 out of 10.
- Is CVE-2025-5101 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.