Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 10.1 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that, when OmniAuth SAML and LDAP auto-linking were both enabled, an authenticated user could have taken over an existing LDAP-backed account without any interaction from the targeted user, due to improper input sanitization in the LDAP email lookup path used during OmniAuth identity linking.
Published: 2026-10-21
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: LDAP Injection leading to account takeover
Action: Immediate Patch
AI Analysis

Impact

GitLab’s LDAP email lookup path does not properly neutralize special characters in LDAP queries, allowing an authenticated user to inject LDAP syntax. The injection can be used to link an attacker’s authenticated identity to an existing LDAP-backed account belonging to another user, effectively taking over that account without the target’s interaction. This flaw is classified as CWE‑90 and can enable an attacker to gain unauthorized access to protected resources and user data.

Affected Systems

The vulnerability affects GitLab Community Edition and Enterprise Edition. All versions from 10.1 up to but excluding 19.3.6, all 19.4 releases before 19.4.3, and all 19.5 releases before 19.5.1 are impacted. The affected configurations require both OmniAuth SAML and LDAP auto‑linking to be enabled.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity, and the absence of an EPSS score suggests a lack of publicly available exploit data. The flaw is not listed in CISA’s KEV catalog, but it can be exploited in environments where an attacker possesses valid authentication credentials and where the specified authentication flows are active. Given the need for an authenticated user, the attack vector is likely internal or represents a compromised credential scenario. Once exploited, the attacker can impersonate any user with LDAP‑backed identities, potentially accessing privileged functionality and sensitive data.

Generated by OpenCVE AI on October 22, 2026 at 04:01 UTC.

Remediation

Vendor Solution

Upgrade to versions 19.3.6, 19.4.3, 19.5.1 or above.


OpenCVE Recommended Actions

  • Upgrade to GitLab v19.3.6, 19.4.3, 19.5.1 or newer to apply the fixed LDAP input sanitization
  • If upgrading immediately is not possible, temporarily disable OmniAuth SAML and LDAP auto‑linking to prevent the injection from being used to take over accounts
  • Verify that LDAP queries are properly sanitized in your custom extensions or scripts if you have modified the default behavior, ensuring that special LDAP characters are escaped according to RFC 4515

Generated by OpenCVE AI on October 22, 2026 at 04:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:19.5.0:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:19.5.0:*:*:*:enterprise:*:*:*

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab CE/EE affecting all versions from 10.1 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that, when OmniAuth SAML and LDAP auto-linking were both enabled, an authenticated user could have taken over an existing LDAP-backed account without any interaction from the targeted user, due to improper input sanitization in the LDAP email lookup path used during OmniAuth identity linking.
Title Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') in GitLab
First Time appeared Gitlab
Gitlab gitlab
Weaknesses CWE-90
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Vendors & Products Gitlab
Gitlab gitlab
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitLab

Published:

Updated: 2026-10-23T10:58:00.648Z

Reserved: 2026-07-14T13:04:45.612Z

Link: CVE-2026-15723

cve-icon Vulnrichment

Updated: 2026-10-23T10:57:57.610Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-22T01:16:59.477

Modified: 2026-11-04T23:10:00.223

Link: CVE-2026-15723

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T05:00:11Z

Weaknesses
  • CWE-90

    Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')