CVE-2026-35563
Apache Directory LDAP API: LDAP client implementation does not verify if the server certificate matches the intended LDAP hostname
Also known as GHSA-85rw-g4f4-jprr
Mitigation
- Upgrade org.apache.directory.api:api-ldap-client-api to 2.1.8 or later.
Who should check
- Projects that depend on Maven package org.apache.directory.api:api-ldap-client-api (>= 2.0.0, < 2.1.8)
- Anyone running Apache Software Foundation Apache Directory LDAP API >= 2.0.0, <= 2.1.7
Vulnerability facts
- Affected
- org.apache.directory.api:api-ldap-client-api >= 2.0.0, < 2.1.8
- Fixed in
- 2.1.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:L/SA:LOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: Low
- Availability impact on other systems: Low
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-297
- Modified
Description
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.directory.api:api-ldap-client-api | >= 2.0.0, < 2.1.8 | 2.1.8 | osv |
| Apache Software Foundation Apache Directory LDAP API | >= 2.0.0, <= 2.1.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-35563. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-35563.md Affected: org.apache.directory.api:api-ldap-client-api >= 2.0.0, < 2.1.8 Fixed in: 2.1.8 Steps: 1. Search this machine and project for org.apache.directory.api:api-ldap-client-api (Maven), Apache Software Foundation Apache Directory LDAP API: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-35563 being exploited?
There is no confirmed exploitation: CVE-2026-35563 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-35563?
High: CVSS 8.8 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-35563?
org.apache.directory.api:api-ldap-client-api >= 2.0.0, < 2.1.8.
Is there a fix for CVE-2026-35563?
Yes. Fixed in 2.1.8. Upgrade org.apache.directory.api:api-ldap-client-api to 2.1.8 or later.
How do I check if I'm affected by CVE-2026-35563?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.