EXPOSURES › CVE-2026-27727
CVE-2026-27727
CRITICALCVE-2026-27727 in mchange-commons-java allows remote code execution via JNDI deserialization if the library version is below 0.4.0.
This vulnerability enables an attacker to download and execute arbitrary code by tricking an application into processing a malicious JNDI reference. DIB organizations must ensure all Java libraries, including mchange-commons-java, are updated to version 0.4.0 or later to prevent remote code execution and potential supply chain compromise.
Shame score — The library mirrored early, unhardened JDK implementations of JNDI that were known to be dangerous, and failed to gate them by default until version 0.4.0.
▸ RECOMMENDED ACTION Remote code execution — patch the affected products on priority.
mchange-commons-java, a library that provides Java utilities, includes code that mirrors early implementations of JNDI functionality, including support for remote `factoryClassLocation` values, by which code can be downloaded and invoked within a running application. If an attacker can provoke an application to read a maliciously crafted `jaxax.naming.Reference` or serialized object, they can provoke the download and execution of malicious code. Implementations of this functionality within the JDK were disabled by default behind a System property that defaults to `false`, `com.sun.jndi.ldap.object.trustURLCodebase`. However, since mchange-commons-java includes an independent implementation of JNDI derefencing, libraries (such as c3p0) that resolve references via that implementation could be provoked to download and execute malicious code even after the JDK was hardened. Mirroring the JDK patch, mchange-commons-java's JNDI functionality is gated by configuration parameters that default to restrictive values starting in version 0.4.0. No known workarounds are available. Versions prior to 0.4.0 should be avoided on application CLASSPATHs.