Description
Deserialization of Untrusted Data vulnerability in Apache Directory LDAP API.



A rogue/compromised LDAP server (or pre-TLS MITM) can answer a client's loadSchema() subschema search with a schema object that contains a serialized Java class, allowing some potential RCE. 



This issue affects Apache Directory LDAP API: from 2.1.0 before 2.1.9.



Users are recommended to upgrade to version 2.1.9, which fixes the issue.
Published: 2026-10-02
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The Apache Directory LDAP API has a deserialization flaw that allows an attacker to inject a serialized Java class through the loadSchema() subschema search. When an LDAP server or a pre‑TLS man‑in‑the‑mid‑point returns a schema object containing that class, the client deserializes it without validation, potentially leading to remote code execution on the system hosting the API. This vulnerability is identified as CWE‑502 and can compromise the confidentiality, integrity, and availability of the affected application.

Affected Systems

The flaw exists in Apache Directory LDAP API versions from 2.1.0 up through 2.1.8 inclusive. Any deployment that uses these releases and performs loadSchema() requests against an LDAP server that is not strictly trusted is vulnerable. The issue does not affect releases prior to 2.1.0 or the patched 2.1.9 variant.

Risk and Exploitability

An attacker can exploit the vulnerability by controlling an LDAP server or positioning a pre‑TLS interception that supplies a malicious schema during a loadSchema() call. While the EPSS score of < 1% indicates low exploitation probability, a CVSS score of 9.8 signals critical severity, and the absence of a KEV listing suggests it has not yet been actively exploited. Nevertheless, the payload can grant arbitrary code execution; therefore the potential impact is severe. Mitigation relies on upgrading to 2.1.9, using TLS, and ensuring only trusted servers are queried.

Generated by OpenCVE AI on October 7, 2026 at 23:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Directory LDAP API to version 2.1.9 or later, which removes the vulnerable schema deserialization.
  • Configure the client to use TLS when connecting to LDAP servers, preventing untrusted servers or MITM from supplying malicious schema.
  • Enforce strict authentication and restrict LDAP connections to trusted servers only, mitigating rogue server attacks.

Generated by OpenCVE AI on October 7, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 07 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 03 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Fri, 02 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
References

Fri, 02 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache directory Ldap Api
Vendors & Products Apache
Apache directory Ldap Api

Fri, 02 Oct 2026 10:15:00 +0000

Type Values Removed Values Added
Description Deserialization of Untrusted Data vulnerability in Apache Directory LDAP API. A rogue/compromised LDAP server (or pre-TLS MITM) can answer a client's loadSchema() subschema search with a schema object that contains a serialized Java class, allowing some potential RCE.  This issue affects Apache Directory LDAP API: from 2.1.0 before 2.1.9. Users are recommended to upgrade to version 2.1.9, which fixes the issue.
Title Apache Directory LDAP API: Unsafe loading of Java code from LDAP schema elements
Weaknesses CWE-502
References

Subscriptions

Apache Directory Ldap Api
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-07T22:07:09.152Z

Reserved: 2026-10-01T12:43:28.815Z

Link: CVE-2026-103877

cve-icon Vulnrichment

Updated: 2026-10-02T21:07:21.080Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T10:17:06.437

Modified: 2026-10-07T23:16:58.850

Link: CVE-2026-103877

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-02T10:08:42Z

Links: CVE-2026-103877 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T23:45:15Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data