{"id":"CVE-2026-35563","aliases":["CVE-2026-35563","GHSA-85rw-g4f4-jprr"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Directory LDAP API: LDAP client implementation does not verify if the server certificate matches the intended LDAP hostname","summary":"It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP \nhostname. While the underlying code validates the certificate chain \nagainst a trusted authority, the absence of endpoint identification \nallows a valid certificate issued for an entirely unrelated host to be \nimproperly accepted. This oversight leaves the connection highly \nvulnerable to server impersonation and complete connection compromise.\n\n\nThe\n root cause of this vulnerability lies in the incomplete TLS server \nidentity verification within the LDAP client implementation.\n\n\n\n\nThe attacker requires MITM capability on the network to exploit this vulnerability. This attacker must be able to present a certificate trusted by the client's configured trust store.\n\n\n\n\nThe hostname verification has been enforced in the new version of the LDAP API","summarySource":"cvelist","descriptions":[{"lang":"en","text":"It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP \nhostname. While the underlying code validates the certificate chain \nagainst a trusted authority, the absence of endpoint identification \nallows a valid certificate issued for an entirely unrelated host to be \nimproperly accepted. This oversight leaves the connection highly \nvulnerable to server impersonation and complete connection compromise.\n\n\nThe\n root cause of this vulnerability lies in the incomplete TLS server \nidentity verification within the LDAP client implementation.\n\n\n\n\nThe attacker requires MITM capability on the network to exploit this vulnerability. This attacker must be able to present a certificate trusted by the client's configured trust store.\n\n\n\n\nThe hostname verification has been enforced in the new version of the LDAP API","source":"cvelist"},{"lang":"en","text":"It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP  hostname. While the underlying code validates the certificate chain  against a trusted authority, the absence of endpoint identification  allows a valid certificate issued for an entirely unrelated host to be improperly accepted. This oversight leaves the connection highly vulnerable to server impersonation and complete connection compromise.\n\nThe root cause of this vulnerability lies in the incomplete TLS server identity verification within the LDAP client implementation.\n\nThe attacker requires MITM capability on the network to exploit this vulnerability. This attacker must be able to present a certificate trusted by the client's configured trust store.\n\nThe hostname verification has been enforced in the new version of the LDAP API.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se identificó que la implementación del cliente LDAP en la versión 2.1.7 no verifica si el certificado del servidor coincide con el nombre de host LDAP previsto. Si bien el código subyacente valida la cadena de certificados contra una autoridad de confianza, la ausencia de identificación de punto final permite que un certificado válido emitido para un host completamente no relacionado sea aceptado incorrectamente. Esta omisión deja la conexión altamente vulnerable a la suplantación del servidor y al compromiso completo de la conexión.\n\nLa causa raíz de esta vulnerabilidad reside en la verificación incompleta de la identidad del servidor TLS dentro de la implementación del cliente LDAP.\n\nEl atacante requiere capacidad de MitM en la red para explotar esta vulnerabilidad. Este atacante debe poder presentar un certificado de confianza para el almacén de confianza configurado del cliente.\n\nLa verificación del nombre de host se ha aplicado en la nueva versión de la API LDAP.","source":"nvd"}],"published":"2026-06-01T07:12:05.815Z","modified":"2026-07-22T07:10:00.107Z","severity":{"scorer":"apache","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:L/SA:L","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"apache","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:L/SA:L","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:L/SA:L","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"}],"cwes":["CWE-297"],"affected":[{"ranges":[{"type":"maven","introduced":"2.0.0","lastAffected":"2.1.7","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Directory LDAP API","package":"org.apache.directory.api:api-ldap-client-api","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.1.8"}],"ecosystem":"Maven","package":"org.apache.directory.api:api-ldap-client-api","purl":"pkg:maven/org.apache.directory.api/api-ldap-client-api","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.1.7"}],"vendor":"apache","product":"directory_ldap_api","cpe":"cpe:2.3:a:apache:directory_ldap_api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/5rc2nzqxp1m9wknyf93r8dnp46fhc1nn","tags":["mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/01/2","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35563","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/directory-ldap-api/commit/57a7726d8b6436c74945c12f5ba4e12d232d2bac","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/directory-ldap-api","tags":["package"],"sources":["ghsa"]}],"credits":["Rafał Łykowski and Łukasz Kollbek of Qualtrics"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-01T13:09:38.839Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35563","url":"https://www.cve.org/CVERecord?id=CVE-2026-35563","licence":"CVE Terms of Use","modified":"2026-06-01T13:09:55.143Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-85rw-g4f4-jprr","url":"https://github.com/advisories/GHSA-85rw-g4f4-jprr","licence":"CC-BY-4.0","modified":"2026-07-08T00:11:30.848Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35563","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35563","licence":"Public domain","modified":"2026-07-22T07:10:00.107Z"}],"updatedAt":"2026-11-25T22:59:23.417Z","epss":{"score":0.00182,"percentile":0.0808,"date":"2026-12-01T12:00:22.000Z"}}