OpenDJ CVE-2026-46495
CRITICALSeverity by source
Network-reachable JMX/RMI port, pre-authentication deserialization with no user interaction, and demonstrated RCE yielding full confidentiality, integrity, and availability impact on the host.
Estimated by vuln.today — no official severity rating has been published for this CVE yet.
Lifecycle Timeline
3Blast Radius
ecosystem impact- 63 maven packages depend on org.openidentityplatform.opendj:opendj-server-legacy (8 direct, 55 indirect)
Ecosystem-wide dependent count for version 5.1.1.
DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Unauthenticated remote code execution in OpenDJ Community Edition through 5.1.0 occurs when the JMX RMI connector deserializes attacker-controlled Java objects before authentication is performed. Any deployment with the JMX Connection Handler enabled (commonly turned on for monitoring integrations) is exposed to pre-auth RCE over TCP, as demonstrated against OpenDJ 4.4.15 on JDK 11 with Jackson 2.12.6.1. No public exploit identified at time of analysis, and the issue is not currently listed in CISA KEV.
Technical ContextAI
OpenDJ is an LDAPv3 directory server (a fork of OpenDS/ForgeRock OpenDJ) maintained by the Open Identity Platform community, distributed via the Maven artifact org.openidentityplatform.opendj:opendj-server-legacy. The affected component is the JMX Connection Handler, which exposes a Java Management Extensions endpoint over RMI for monitoring and management. The root cause is CWE-502 (Deserialization of Untrusted Data): the RMI transport reads serialized Java objects from the network and invokes ObjectInputStream.readObject() before the JMX authentication step runs, so any gadget chain reachable on the server classpath (e.g., via Jackson, Commons Collections, or other libraries shipped with the runtime) can be triggered to achieve code execution.
RemediationAI
Upgrade to OpenDJ Community Edition 5.1.1 or later, the vendor-released patched version per GHSA-43x2-g84q-fmqx (https://github.com/OpenIdentityPlatform/OpenDJ/security/advisories/GHSA-43x2-g84q-fmqx). If immediate upgrade is not feasible, disable the JMX Connection Handler in the OpenDJ configuration (it is off by default) - note this will break any monitoring integrations that scrape JMX metrics, so plan an alternative such as LDAP-based monitoring or the cn=monitor backend. As a compensating control, restrict TCP access to the configured JMX listener port to a small set of management hosts via host firewall or network ACLs, recognizing that any host on the allowlist remains a pivot point for pre-auth RCE until the patch is applied.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-502 – Deserialization of Untrusted Data
View allShare
External POC / Exploit Code
Leaving vuln.today
GHSA-43x2-g84q-fmqx