CVE-2026-47065
Apache MINA: Critical Deserialization Allow-list Bypass via resolveProxyClass
Description
ZDRES-232: resolveProxyClass Not Overridden - acceptMatchers Filter Bypass via java.lang.reflect.Proxy
Assessment: Fully addressed.
When the serialised stream contains a TC_PROXYCLASSDESC (the marker for a java.lang.reflect.Proxy ), JDK’s ObjectInputStream.readProxyDesc() is dispatched. JDK then calls the default ObjectInputStream.resolveProxyClass(interfaces) implementation, which performs Class.forName(intf, false, latestUserDefinedLoader()) for EACH interface name and constructs the proxy class — bypassing the accepted classes list .
ZDRES-233: Class.forName(name, initialize=true, classLoader) in readClassDescriptor Triggers Static Initialiser of Allow-Listed Classes
Assessment: Fully addressed.
For ANY class on the allow-list, deserialising a stream that names it triggers the class’s (static initialiser) BEFORE any instance is constructed. This means an attacker who supplies a class name on the allow-list (e.g., the developer wrote accept(“com.myapp.*") , attacker supplies com.myapp.SomeClass ) causes <clinit> of SomeClass — and many real-world classes have side-effecting static initialisers
Both issues have been fixed.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.mina » mina-core | < 2.0.29>= 2.1.0, < 2.1.13>= 2.2.0, < 2.2.8 | 2.0.29, 2.1.13, 2.2.8 |
Blast radius
57% of the dependent artifacts (5,981) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 22,046 |
| 2 hops | 100,643 |
| 3 hops | 74,917 |
| 4 hops | 114,286 |
| 5 hops | 250,009 |
| 6 hops | 220,733 |
Most used dependents
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.eclipse.jetty » jetty-maven-plugin1,337 usages
- org.apache.kafka » connect-api1,026 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.hadoop » hadoop-core855 usages
- org.eclipse.jetty » jetty-security843 usages
- org.apache.karaf.tooling » karaf-maven-plugin797 usages
- org.apache.hive » hive-exec699 usages
- io.fabric8 » fabric8-maven-plugin676 usages
- org.apache.hbase » hbase-common674 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
