CVE-2026-15723

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

Published Oct 21, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
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:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-90

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

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Oct 23, 2026, 10:58 AM
Reserved
Jul 14, 2026, 1:04 PM
Status
Analyzed
Published
Oct 22, 2026, 1:16 AM
Modified
Nov 4, 2026, 11:10 PM