PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-16255: 
GitLab vulnerability analysis and mitigation

Overview

CVE-2026-16255 is an Incorrect Authorization vulnerability in GitLab Enterprise Edition (EE) that allows authenticated users to bypass instance-wide SAML or LDAP membership lock controls. When the membership lock is enabled, an authenticated user could grant or accept project and group membership outside the identity provider's control, due to incomplete enforcement of the lock on requests created before it was enabled. The vulnerability affects all GitLab EE versions from 12.0 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1. It carries a CVSS v3.1 base score of 5.9 (Medium) (EUVD, GitLab Advisory).

Technical details

The root cause is classified as CWE-863 (Incorrect Authorization). The flaw stems from incomplete enforcement of the instance-wide SAML or LDAP membership lock: membership invitations or requests created before the lock was enabled were not retroactively invalidated or blocked, allowing them to be accepted or granted after the lock was in place. An authenticated, low-privileged user can exploit this over the network without user interaction, though the attack complexity is rated High, suggesting specific preconditions (such as having a pre-existing pending membership request) must be met. The issue was reported via HackerOne and tracked internally by GitLab (HackerOne Report, GitLab Issue).

Impact

Successful exploitation allows an authenticated attacker to gain unauthorized membership in GitLab projects or groups that should be restricted to identity-provider-managed users, resulting in high confidentiality impact (access to source code, CI/CD secrets, and other sensitive repository data) and low integrity impact (ability to contribute to or modify project resources). Availability is not affected. The bypass undermines centralized access control enforced via SAML or LDAP, potentially enabling unauthorized lateral movement within an organization's GitLab instance (EUVD, GitLab Advisory).

Exploitability

No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, indicating a currently low probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an authenticated user account and specific preconditions (a pending membership request predating the lock), which limits opportunistic exploitation (EUVD).

Exploitation steps

  1. Identify target instance: Confirm the GitLab EE instance has instance-wide SAML or LDAP membership lock enabled and is running a vulnerable version (12.0–19.3.5, 19.4.0–19.4.2, or 19.5.0).
  2. Create pre-lock membership request: As an authenticated user, submit a project or group membership invitation or join request before the membership lock is enabled (or leverage an existing pending request created prior to lock activation).
  3. Wait for or trigger lock activation: The membership lock is enabled by an administrator, but the pending request is not invalidated due to the incomplete enforcement logic.
  4. Accept or grant membership: Use the pre-existing pending request to accept or grant membership to the project or group, bypassing the identity provider's access controls.
  5. Access restricted resources: With unauthorized membership, access sensitive repository content, CI/CD pipelines, secrets, or other project/group resources outside the identity provider's intended scope (GitLab Issue, HackerOne Report).

Indicators of compromise

  • Logs: GitLab application logs showing membership acceptance or grant events for users who are not managed by the configured SAML/LDAP identity provider; audit log entries for member_created or member_updated events occurring after the membership lock was enabled.
  • User/Group Activity: Unexpected members appearing in projects or groups that should be restricted to identity-provider-managed accounts; members with roles not provisioned through SAML/LDAP.
  • Admin Audit Events: Review GitLab's Admin Area > Audit Events for membership changes post-lock-enablement that do not correspond to identity provider actions.

Mitigation and workarounds

GitLab has released patched versions: 19.3.6, 19.4.3, and 19.5.1. Administrators should upgrade to one of these versions immediately. As a temporary workaround, administrators can audit and manually revoke any unauthorized memberships in projects and groups, and review pending membership requests to ensure none were created before the lock was enabled. GitLab Cloud (GitLab.com) instances are managed by GitLab and receive patches automatically (GitLab Advisory).

Community reactions

Security news outlets including CyberSecurityNews and GBHackers covered the patch release as part of GitLab's broader critical patch release cycle, noting the 12-year version range affected. The vulnerability was discussed on Infosec.Exchange and tracked by AUSCERT (ESB-2026.13041) and Tenable (plugin 370164). No significant controversy or notable researcher commentary beyond standard patch advisories has been observed (CyberSecurityNews, AUSCERT, Tenable).

Additional resources


Source: This report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-110264CRITICAL10
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 22, 2026
CVE-2026-16255NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 2026
CVE-2026-15723NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 2026
CVE-2026-14288NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 2026
CVE-2026-13319NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management