Patch GitLab to Stop SAML-LDAP Account Takeover Without Victim Interaction
GitLab users must update to block a high-severity flaw allowing authenticated attackers to hijack LDAP accounts via improper input sanitization.

Key points
- CVE-2026-15723 allows account takeover when OmniAuth SAML and LDAP auto-linking are both enabled.
- The flaw affects GitLab CE/EE versions prior to 19.3.6, 19.4.3, and 19.5.1.
- Attackers need only an authenticated user account to exploit the improper input sanitization.
GitLab has released updates to address a high-severity vulnerability that permits authenticated users to hijack existing LDAP-backed accounts. The flaw, tracked as CVE-2026-15723, exists in the LDAP email lookup path used during OmniAuth identity linking. According to the National Vulnerability Database, the issue arises from improper input sanitization. This defect allows an attacker to take over an account without any interaction from the targeted user, provided specific configuration conditions are met.
The risk
The vulnerability carries a CVSS score of 8.2, which the NVD classifies as high severity. The core weakness is categorized under CWE-90. An attacker who already possesses an authenticated user account can leverage this flaw to assume control of another user’s identity. This takeover occurs specifically when the system attempts to link identities via OmniAuth SAML and LDAP auto-linking. The lack of required interaction from the victim makes the attack vector particularly dangerous for internal threat actors or compromised low-privilege accounts.
Who is exposed
The issue affects GitLab Community Edition and Enterprise Edition across multiple version branches. According to the NVD record, any installation running GitLab versions earlier than 19.3.6, 19.4.3, or 19.5.1 is vulnerable. The exposure is not universal; it requires a specific configuration where both OmniAuth SAML and LDAP auto-linking features are enabled. Organizations using older major versions, specifically those from 10.1 up to the patched versions mentioned, are also at risk if they maintain this dual-authentication setup.
Cost and compliance
The source material does not provide details on financial costs, regulatory fines, or specific compliance framework impacts associated with this vulnerability. No data regarding breach notification costs or insurance implications is included in the NVD record. The primary compliance concern stems from the potential for unauthorized access to sensitive data within the GitLab instance, which could violate internal security policies or external data protection standards depending on the organization's specific requirements and the sensitivity of the stored code and credentials.
Our take on the response
GitLab has remediated the issue in the specified version updates. Security teams should prioritize patching instances that utilize the affected authentication combination. Since the flaw allows account takeover without victim interaction, delaying updates increases the window for lateral movement within the environment. Managers should verify their current GitLab version against the patched list immediately and schedule maintenance windows for the necessary upgrades to close this high-severity gap.
What defenders should look for
Teams should monitor authentication logs for unusual linkage events between SAML and LDAP identities. Look for cases where a single user account suddenly gains access to resources previously restricted to a different LDAP-backed identity. Check for rapid privilege escalation following an authentication event. If such patterns emerge, isolate the affected account immediately. Review the configuration of identity providers to ensure auto-linking is only enabled where strictly necessary. Validate that no unauthorized sessions are active for the compromised identities.
Background: Account takeover
Account takeover protection stops attackers from using stolen credentials by verifying identity through multiple factors and monitoring login patterns. You secure accounts by enforcing multi-factor authentication, checking for impossible travel, and validating device fingerprints to ensure the person logging in matches the expected user profile.
Read the full guide: Account Takeover Protection: Mechanisms, Trade-offs, and Defense
What to do and how to stay safe: GitLab
- Verify your current GitLab version and compare it against the patched versions 19.3.6, 19.4.3, and 19.5.1.
- Review your authentication settings to see if both OmniAuth SAML and LDAP auto-linking are enabled.
- Plan an immediate update to the latest patched version if your configuration matches the vulnerable criteria.
- Monitor authentication logs for unexpected identity linkage or privilege changes until the patch is deployed.
Step-by-step guide: Unpatched Software Response: Containment, Recovery, and Prevention Steps
General security guidance from the BlueTeam Herald newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Which GitLab versions are affected by CVE-2026-15723?
Versions before 19.3.6, before 19.4.3, and before 19.5.1 are affected, including older versions from 10.1 upwards.
Is a patch available for this vulnerability?
Yes, GitLab has remediated the issue in versions 19.3.6, 19.4.3, and 19.5.1.
What configuration is required for this exploit to work?
Both OmniAuth SAML and LDAP auto-linking must be enabled for the vulnerability to be exploitable.



