Auth bypass in Gitlab

CVE-2023-5198

An issue has been discovered in GitLab affecting all versions prior to 16.2.7, all versions starting from 16.3 before 16.3.5, and all versions starting from 16.4 before 16.4.1. It was possible for a removed project member to write to protected branches using deploy keys.

Vulnerability class: Broken Access Control

EPSS: 0.004 (34.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

  • Gitlab — versions 16.4, 0, 16.4.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-2023-5198?
CVE-2023-5198 is a medium-severity vulnerability in Gitlab, classified under Incorrect Authorization. CVSS score: 4.3/10. Published 2023-09-29.
How severe is CVE-2023-5198?
Medium severity. CVSS v3 base score is 4.3 out of 10.
Is CVE-2023-5198 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.