CVE-2023-5198
JSON

4.3medium

Incorrect Authorization in GitLab

Severity
4.3medium CVSS:3.1 by GitLab
Exploit likelihood
0.53% (higher than 38% of CVEs)
Published
Last changed
Assigned by
GitLab
Also known as
BIT-GITLAB-2023-5198

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

Product or packageVersionsReported by
GitLab GitLabup 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.0CVE List, NVD
gitlab (Bitnami)before 16.2.8, from 16.3.0 before 16.3.5, from 16.4.0 before 16.4.1Bitnami Vulnerability Database

All scores

GitLab4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

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

Sources

SourceRecordLicence
CVE ListCVE-2023-5198 changed 2026-05-17CVE Terms of Use
NVDCVE-2023-5198 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2023-5198 changed 2025-05-20Apache-2.0