# CVE-2023-5198: Incorrect Authorization in GitLab

- Severity: Medium 4.3 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-29T07:01:42.219Z
- Modified: 2026-06-17T06:48:04.567Z
- Also known as: BIT-GITLAB-2023-5198
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitLab

## 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.

(As written by CVE List.)

## Affected

- GitLab GitLab: up to 16.2.7; from 16.3 before 16.3.5; from 16.4 before 16.4.1; from 8.15 before 16.2.8; from 16.3.0 before 16.3.5; 16.4.0
- gitlab (Bitnami): before 16.2.8; from 16.3.0 before 16.3.5; from 16.4.0 before 16.4.1

## Every score

- GitLab: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://hackerone.com/reports/2041789> (exploit, permissions-required, technical-description, web)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/416957> (broken-link, issue-tracking, permissions-required, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5198> (web)

## Sources

- CVE List: [CVE-2023-5198](https://www.cve.org/CVERecord?id=CVE-2023-5198), CVE Terms of Use, modified 2026-05-17
- NVD: [CVE-2023-5198](https://nvd.nist.gov/vuln/detail/CVE-2023-5198), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2023-5198](https://osv.dev/vulnerability/BIT-GITLAB-2023-5198), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2023-5198 · Whole record: https://cve.day/CVE-2023-5198.json · Rebuilt by cve.day 2026-11-25T22:58:28.274Z
