Apache Directory LDAP API: LDAP client implementation does not verify if the server…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
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 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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Directory LDAP API | 2.0.0 – 2.1.7 | — | No fix listed | CNA |
| — | org.apache.directory.api:api-ldap-client-api (Maven) | 2.0.0 to before 2.1.8 | 2.1.8 | Patch available | GHSA-85rw-g4f4-jprr |
- Apache Directory LDAP API VendorApache Affected 2.0.0 – 2.1.7 Fixed in — No fix listed CNA
- org.apache.directory.api:api-ldap-client-api (Maven) Vendor— Affected 2.0.0 to before 2.1.8 Fixed in 2.1.8 Patch available GHSA-85rw-g4f4-jprr
Remediation
- Fix · GHSA-85rw-g4f4-jprr org.apache.directory.api:api-ldap-client-api (Maven) Fixed in 2.1.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35563
- 2026-10-03 Alias added: GHSA-85rw-g4f4-jprr
- 2026-10-25 Priority changed: MEDIUM → LOW
References
Advisory 3
More Apache Directory Ldap Api vulnerabilities
- TI-2018-01238 Information disclosure in Apache Directory CVSS 3.0CRITICAL 9.8
- TI-2015-02878 Apache Directory LDAP API before 1.0.0-M31 allows attackers to conduct timing attacks via unspecified vectors. CVSS 3.0HIGH 7.5
Sources
- CVE-2026-35563 · CVE Program
- CVE-2026-35563 · NVD
- FIRST EPSS
- GHSA-85rw-g4f4-jprr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences