CVE-2026-47065
JSON

9.8critical

Apache MINA: Critical Deserialization Allow-list Bypass via resolveProxyClass - ZDRES-232

Severity
9.8critical CVSS:3.1 by apache
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-v3pr-hxpr-mfm8

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

Product or packageVersionsReported by
org.apache.mina:mina-corefrom 2.2.0 before 2.2.8, from 2.1.0 before 2.1.13, from 2.0.0 before 2.0.29CVE List
org.apache.mina:mina-core (Maven)from 2.2.0 before 2.2.8, from 2.1.0 before 2.1.13, before 2.0.29GitHub Advisory Database
apache mina2.0.29, 2.1.13, 2.2.8NVD

All scores

apache9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

ZDRES-232: resolveProxyClass no anulado - Omisión del filtro acceptMatchers mediante java.lang.reflect.Proxy Evaluación: Completamente abordado. Cuando el flujo serializado contiene un TC_PROXYCLASSDESC (el marcador para un java.lang.reflect.Proxy), se despacha ObjectInputStream.readProxyDesc() del JDK. El JDK luego llama a la implementación predeterminada de ObjectInputStream.resolveProxyClass(interfaces), que realiza Class.forName(intf, false, latestUserDefinedLoader()) para CADA nombre de interfaz y construye la clase proxy, omitiendo la lista de clases aceptadas. ZDRES-233: Class.forName(name, initialize=true, classLoader) en readClassDescriptor activa el inicializador estático de clases en la lista de permitidos Evaluación: Completamente abordado. Para CUALQUIER clase en la lista de permitidos, la deserialización de un flujo que la nombra activa el (inicializador estático) de la clase ANTES de que se construya cualquier instancia. Esto significa que un atacante que proporciona un nombre de clase en la lista de permitidos (por ejemplo, el desarrollador escribió accept('com.myapp.*'), el atacante proporciona com.myapp.SomeClass) causa <clinit> de SomeClass, y muchas clases del mundo real tienen inicializadores estáticos con efectos secundarios. Ambos problemas han sido solucionados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47065 changed 2026-06-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-v3pr-hxpr-mfm8 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-47065 changed 2026-07-22Public domain