RCE in Gitlab

CVE-2023-5226

An issue has been discovered in GitLab affecting all versions before 16.4.3, all versions starting from 16.5 before 16.5.3, all versions starting from 16.6 before 16.6.1. Under certain circumstances, a malicious actor bypass prohibited branch checks using a specially crafted branch name to manipulate repository content in the UI.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.006 (42.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N.

Affected products

  • Gitlab — versions 16.6.0, 0, 16.5

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-5226?
CVE-2023-5226 is a medium-severity vulnerability in Gitlab, classified under Code Injection. CVSS score: 4.8/10. Published 2023-12-01.
How severe is CVE-2023-5226?
Medium severity. CVSS v3 base score is 4.8 out of 10.
Is CVE-2023-5226 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.