CVE-2026-35563
highpriority · track · 34EPSS 0.003 · 17 %ileEUUSEPSS · scored 2026-10-22
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. The root cause of this vulnerability lies in the incomplete TLS server identity verification within the LDAP client implementation. The 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. The hostname verification has been enforced in the new version of the LDAP API
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.9–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- Maven org.apache.directory.api:api-ldap-client-api2.0.0 → 2.1.8osvUSpkg:maven/org.apache.directory.api/api-ldap-client-api
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-85rw-g4f4-jprrApache Directory LDAP API lacks server certificate verification for LDAP hostnames2026-06-01ghsa · osvUS
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. The root cause of this vulnerability lies in the incomplete TLS server identity verification within the LDAP client implementation. The 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. The hostname verification has been enforced in the new version of the LDAP API.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2026/06/01/2cnnvd
- https://access.redhat.com/security/cve/cve-2026-35563cnnvd
- https://lists.apache.org/thread/5rc2nzqxp1m9wknyf93r8dnp46fhc1nncnnvd
- https://lists.apache.org/thread/5rc2nzqxp1m9wknyf93r8dnp46fhc1nnenisa_euvd
- http://www.openwall.com/lists/oss-security/2026/06/01/2Mailing ListThird Party Advisorynvd
- https://lists.apache.org/thread/5rc2nzqxp1m9wknyf93r8dnp46fhc1nnMailing ListVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan