A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35563

CVE-2026-35563: Apache Directory LDAP API Info Disclosure

CVE-2026-35563 is an information disclosure vulnerability in Apache Directory LDAP API 2.1.7 caused by missing hostname verification in TLS connections. This article covers technical details, affected versions, and mitigation.

Published: June 4, 2026

CVE-2026-35563 Overview

CVE-2026-35563 affects the Apache Directory LDAP API version 2.1.7. The Lightweight Directory Access Protocol (LDAP) client implementation does not verify whether the server certificate matches the intended LDAP hostname. The underlying code validates the certificate chain against a trusted authority, but the absence of endpoint identification allows a valid certificate issued for an unrelated host to be accepted. This flaw maps to [CWE-297: Improper Validation of Certificate with Host Mismatch] and exposes LDAP sessions to server impersonation and full connection compromise.

Critical Impact

An attacker with network man-in-the-middle (MITM) capability who can present any certificate trusted by the client's trust store can impersonate the legitimate LDAP server and intercept or alter directory traffic, including credentials.

Affected Products

  • Apache Directory LDAP API version 2.1.7
  • Applications embedding the vulnerable apache:directory_ldap_api client component
  • Java applications relying on the Apache LDAP API for TLS-secured directory binds

Discovery Timeline

  • 2026-06-01 - CVE-2026-35563 published to the National Vulnerability Database
  • 2026-06-01 - Coordinated disclosure posted to the Openwall oss-security mailing list
  • 2026-06-03 - Last updated in the NVD database

Technical Details for CVE-2026-35563

Vulnerability Analysis

The Apache Directory LDAP API performs TLS certificate chain validation but omits hostname verification during the TLS handshake. The client confirms that the presented certificate is signed by a trusted certificate authority, yet it never compares the certificate's Subject Alternative Name or Common Name against the LDAP server hostname requested by the application. As a result, any certificate signed by any CA in the client's trust store is accepted for any LDAP target. This is a classic Improper Certificate Validation issue covered by [CWE-297].

An attacker positioned between the LDAP client and server can terminate the TLS connection using a certificate they legitimately obtained for a host they control. Because the client never checks hostname identity, the substituted certificate passes validation. The attacker can then proxy or modify traffic, capture bind credentials, and tamper with directory queries and responses. The Apache project addressed the issue by enforcing hostname verification in a subsequent release of the LDAP API.

Root Cause

The root cause is incomplete TLS server identity verification inside the LDAP client. After the certificate chain check succeeds, the implementation does not invoke the endpoint identification step required by RFC 6125 and RFC 4513. In Java TLS terms, the SSLParameters endpoint identification algorithm is not set to LDAPS or HTTPS, so the JSSE engine performs only chain validation.

Attack Vector

Exploitation requires an active network adversary capable of intercepting traffic between the LDAP client and the legitimate directory server. The adversary must present a certificate that chains to a CA trusted by the client. Because public CAs issue certificates routinely, any certificate from a trusted public or internal CA, for any hostname, will satisfy the client's checks. Once the TLS session is established to the attacker, plaintext LDAP operations including simple binds become visible to the adversary.

No verified public proof-of-concept is available. The vulnerability mechanism is documented in the Apache Mailing List Discussion and the Openwall OSS Security Update.

Detection Methods for CVE-2026-35563

Indicators of Compromise

  • LDAP or LDAPS connections from application hosts to IP addresses that do not match the configured directory server DNS records.
  • TLS sessions to LDAP servers presenting certificates whose Subject or Subject Alternative Name does not match the expected directory hostname.
  • Unexpected certificate issuers appearing in LDAP TLS handshakes captured from application traffic.
  • Authentication failures or duplicate bind attempts shortly after a network path change or ARP/DNS anomaly.

Detection Strategies

  • Inventory all Java applications and middleware that embed apache:directory_ldap_api and confirm versions in use, flagging 2.1.7.
  • Inspect TLS traffic to LDAP servers with a network sensor or proxy and alert when the server certificate CN/SAN does not match the destination hostname.
  • Compare observed LDAP server certificate fingerprints against a known-good baseline maintained by the directory team.

Monitoring Recommendations

  • Forward TLS handshake metadata and DNS resolutions for LDAP traffic into the SIEM and correlate certificate subject fields with destination FQDNs.
  • Monitor for ARP spoofing, rogue DHCP, and unexpected route changes on network segments that carry directory traffic.
  • Audit application logs for LDAP bind operations against unexpected server addresses or after retry storms suggestive of session interception.

How to Mitigate CVE-2026-35563

Immediate Actions Required

  • Upgrade the Apache Directory LDAP API to the fixed release that enforces hostname verification, as announced in the Apache Mailing List Discussion.
  • Identify and rebuild downstream applications that bundle the vulnerable 2.1.7 library through their dependency graphs.
  • Rotate any LDAP service account credentials that may have transited untrusted networks while the vulnerable client was in use.

Patch Information

The Apache Directory project enforced hostname verification in the new version of the LDAP API. Apply the vendor-released update referenced in the Openwall OSS Security Update and rebuild applications with the patched dependency.

Workarounds

  • Restrict the client trust store to a private CA that signs only the legitimate LDAP server certificate, reducing the set of attacker-usable certificates.
  • Pin the LDAP server certificate or its issuing CA at the application layer and reject mismatches.
  • Route LDAP traffic over an authenticated network channel such as a mutually authenticated VPN or service mesh until the patched library is deployed.
bash
# Configuration example: enforce LDAPS endpoint identification in JVM consumers
# Add to application startup until the patched Apache Directory LDAP API is deployed
-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=false
-Djdk.tls.client.protocols=TLSv1.2,TLSv1.3

# Optional: restrict the JVM trust store to a directory-only CA bundle
-Djavax.net.ssl.trustStore=/etc/pki/ldap-only-truststore.jks
-Djavax.net.ssl.trustStoreType=JKS

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache Directory Ldap Api

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-297
  • Technical References
  • Openwall OSS Security Update
  • Vendor Resources
  • Apache Mailing List Discussion
  • Latest CVEs
  • CVE-2026-49199: Acer Predator Connect W6x Firmware RCE Flaw

  • CVE-2026-46344: Openquantumsafe Liboqs DOS Vulnerability

  • CVE-2026-44518: Openquantumsafe Liboqs DoS Vulnerability

  • CVE-2026-42951: MacGregor VDR Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English