---
id: CVE-2026-16255
title: Incorrect Authorization in GitLab
summary: >-
  GitLab has remediated an issue in GitLab EE affecting all versions from 12.0
  before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that, when the
  instance-wide SAML or LDAP membership lock was enabled, an authenticated user
  could hav…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-863
vendor: GitLab
product: GitLab
affected:
  - GitLab >= 12.0 < 19.3.6
  - GitLab >= 19.4 < 19.4.3
  - GitLab >= 19.5 < 19.5.1
published: '2026-10-21'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T23:35:10.428Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-16255'
references:
  - url: 'https://gitlab.com/gitlab-org/gitlab/-/work_items/606479'
  - url: 'https://hackerone.com/reports/3809350'
    label: 'HackerOne Bug Bounty Report #3809350'
  - url: >-
      https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/
tags:
  - cve.org
ingestedAt: '2026-10-22T00:21:21.862Z'
---

## Overview

GitLab has remediated an issue in GitLab EE affecting all versions from 12.0 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that, when the instance-wide SAML or LDAP membership lock was enabled, an authenticated user could have granted or accepted project and group membership outside the identity provider's control, due to incomplete enforcement of the membership lock on requests created before the lock was enabled.

## Affected

- `GitLab >= 12.0 < 19.3.6`
- `GitLab >= 19.4 < 19.4.3`
- `GitLab >= 19.5 < 19.5.1`

## Remediation

Upgrade to versions 19.3.6, 19.4.3, 19.5.1 or above.
