CVE-2023-5198

Incorrect Authorization in GitLab

Published Sep 29, 2023 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to versions 16.4.1, 16.3.5, 16.2.8 or above.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-57529 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.
History
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Title Improper Access Control in GitLab Incorrect Authorization in GitLab
Weaknesses CWE-863
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
May 17, 2026, 4:06 AM
Reserved
Sep 26, 2023, 10:01 AM
Status
Modified
Published
Sep 29, 2023, 8:15 AM
Modified
Jun 17, 2026, 6:48 AM