CVE-2026-46495: OpenDJ Pre-Auth RCE via Java Deserialization in JMX RMI
Summary Description A Deserialization of Untrusted Data (CWE-502) issue in OpenDJ's JMX RMI connector allows an unauthenticated remote attacker to deserialize arbitrary Java objects on the server. The vulnerability exists because the platform reads and processes attacker-controlled bytes prior to authentication. This affects OpenDJ Community Edition through 5.1.0. This has been patched in version 5.1.1.
Published Jun 22, 2026
Affected packages
org.openidentityplatform.opendj:opendj-server-legacy
- Ecosystem
- Maven
- Affected
- <= 5.1.0
- Fixed in
- 5.1.1
- Check
mvn dependency:tree -Dincludes=org.openidentityplatform.opendj:opendj-server-legacy
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Description
A Deserialization of Untrusted Data (CWE-502) issue in OpenDJ's JMX RMI connector allows an unauthenticated remote attacker to deserialize arbitrary Java objects on the server. The vulnerability exists because the platform reads and processes attacker-controlled bytes prior to authentication. This affects OpenDJ Community Edition through 5.1.0. This has been patched in version 5.1.1.
Impact
This impacts all current OpenDJ releases where the JMX Connection Handler is enabled. While disabled by default, it is frequently enabled in practice for monitoring integrations. Exploitation requires TCP reachability to the configured listener and does not require authentication, prior privileges, or client certificates. Successful exploitation results in unauthenticated Remote Code Execution (RCE), with the severity depending on the runtime classpath and Java version. Unauthenticated RCE was demonstrated on the OpenDJ 4.4.15 (JDK 11 + Jackson 2.12.6.1).
Patch
This has been patched in OpenDJ Community Edition version 5.1.1. Users are encouraged to update to the latest release.
Credited to wodzen.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
