Intel

AIKIDO-2026-411679

api-ldap-schema-data is vulnerable to Insecure Deserialization

CVE-2026-103877Published Oct 13, 2026
October 13, 2026

95

CVE Score

Critical

Insecure Deserialization

Are you affected? Scan for Free

TL;DR

When a client loads schema from an LDAP server, SchemaEntityFactory can build syntax checkers, comparators, and normalizers from class bytes in the entry’s m-bytecode attribute. A rogue or man-in-the-middle server can send malicious bytecode, and the client will run it with the application’s privileges. The fix turns bytecode loading off by default: it only works if org.apache.directory.api.ldap.schema.loader.allowBytecodeLoading is set, and the loaded class must be a SyntaxChecker, LdapComparator, or Normalizer.

How do I fix this?

Upgrade the org.apache.directory.api:api-ldap-schema-data library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application loads schema from an LDAP server you do not fully trust or from a connection that can be intercepted before TLS.

Versions

2.1.0 - 2.1.8

Fixed in 2.1.9

Background info

api-ldap-schema-data is vulnerable to Insecure Deserialization in versions 2.1.0 - 2.1.8.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea