{"id":"CVE-2023-5198","aliases":["CVE-2023-5198","BIT-GITLAB-2023-5198"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect Authorization in GitLab","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en GitLab que afecta a todas las versiones anteriores a 16.2.7, todas las versiones desde 16.3 anteriores a 16.3.5 y todas las versiones desde 16.4 anteriores a 16.4.1. Era posible que un miembro eliminado del proyecto escribiera en sucursales protegidas utilizando claves de implementación.","source":"nvd"}],"published":"2023-09-29T07:01:42.219Z","modified":"2026-06-17T06:48:04.567Z","severity":{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"16.2.7","status":"affected"},{"type":"semver","introduced":"16.3","fixed":"16.3.5","status":"affected"},{"type":"semver","introduced":"16.4","fixed":"16.4.1","status":"affected"}],"vendor":"GitLab","product":"GitLab","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*","repo":"git://git@gitlab.com:gitlab-org/gitlab.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.15","fixed":"16.2.8"},{"status":"affected","introduced":"8.15","fixed":"16.2.8"},{"status":"affected","introduced":"16.3.0","fixed":"16.3.5"},{"status":"affected","introduced":"16.3.0","fixed":"16.3.5"},{"status":"affected","version":"16.4.0"},{"status":"affected","version":"16.4.0"}],"vendor":"gitlab","product":"gitlab","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"16.2.8"},{"type":"semver","introduced":"16.3.0","status":"affected","fixed":"16.3.5"},{"type":"semver","introduced":"16.4.0","status":"affected","fixed":"16.4.1"}],"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","source":"bitnami"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416957","tags":["broken-link","issue-tracking","permissions-required","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://hackerone.com/reports/2041789","tags":["exploit","permissions-required","technical-description","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5198","tags":["web"],"sources":["bitnami"]}],"credits":["Thanks [theluci](https://hackerone.com/theluci) for reporting this vulnerability through our HackerOne bug bounty program"],"assigner":"GitLab","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-30T15:12:22.702Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-5198","url":"https://www.cve.org/CVERecord?id=CVE-2023-5198","licence":"CVE Terms of Use","modified":"2026-05-17T04:06:13.122Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-5198","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5198","licence":"Public domain","modified":"2026-06-17T06:48:04.567Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITLAB-2023-5198","url":"https://osv.dev/vulnerability/BIT-GITLAB-2023-5198","licence":"Apache-2.0","modified":"2025-05-20T10:02:07.006Z"}],"updatedAt":"2026-11-25T22:58:28.274Z","epss":{"score":0.0053,"percentile":0.38293,"date":"2026-11-30T12:00:22.000Z"}}