What’s Vulnerable › Vulnerabilities
CVE-2023-5198: Incorrect Authorization in GitLab
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-09-29 · updated 2026-06-17
- Weakness: CWE-863
Description
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.
Affected products
- GitLab: from 8.15 before 16.2.8; from 16.3.0 before 16.3.5; 16.4.0 — fixed in 16.2.8, 16.3.5
How to fix
Upgrade to a fixed version: GitLab 16.2.8, 16.3.5. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/416957
- https://hackerone.com/reports/2041789
- https://gitlab.com/gitlab-org/gitlab/-/issues/416957
- https://hackerone.com/reports/2041789
Get alerted when CVE-2023-5198 or the next vulnerability affects your stack