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.
PUBLISHED5.2ApplicationCWE-90
Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') in GitLab
Problem type
Affected products
GitLab
GitLab
< 19.3.6 - AFFECTED
< 19.4.3 - AFFECTED
< 19.5.1 - AFFECTED
References
gitlab.com
https://gitlab.com/gitlab-org/gitlab/-/work_items/605977
HackerOne Bug Bounty Report #3852192
https://hackerone.com/reports/3852192
docs.gitlab.com
https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-15723Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-15723",
"assignerOrgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
"assignerShortName": "GitLab",
"dateUpdated": "2026-10-21T23:35:15.434Z",
"dateReserved": "2026-07-14T13:04:45.612Z",
"datePublished": "2026-10-21T23:35:15.434Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
"shortName": "GitLab",
"dateUpdated": "2026-10-21T23:35:15.434Z"
},
"title": "Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') in GitLab",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "GitLab",
"product": "GitLab",
"cpes": [
"cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"
],
"repo": "https://gitlab.com/gitlab-org/gitlab",
"defaultStatus": "unaffected",
"versions": [
{
"version": "10.1",
"status": "affected",
"versionType": "semver",
"lessThan": "19.3.6"
},
{
"version": "19.4",
"status": "affected",
"versionType": "semver",
"lessThan": "19.4.3"
},
{
"version": "19.5",
"status": "affected",
"versionType": "semver",
"lessThan": "19.5.1"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')",
"cweId": "CWE-90",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/605977"
},
{
"url": "https://hackerone.com/reports/3852192",
"name": "HackerOne Bug Bounty Report #3852192",
"tags": [
"technical-description",
"exploit",
"permissions-required"
]
},
{
"url": "https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/"
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
],
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE",
"baseScore": 8.2,
"baseSeverity": "HIGH"
}
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade to versions 19.3.6, 19.4.3, 19.5.1 or above."
}
],
"credits": [
{
"lang": "en",
"value": "Thanks [stealthy](https://hackerone.com/stealthy) for reporting this vulnerability through our HackerOne bug bounty program",
"type": "finder"
}
]
}
}
}