# CVE-2026-47065: Apache MINA: Critical Deserialization Allow-list Bypass via resolveProxyClass - ZDRES-232

> Attackers can bypass deserialization allow-lists in Apache MINA to execute arbitrary code via proxy class resolution or static initializers.

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Jun 2026
- **Updated:** 4 Jun 2026
- **Also known as:** CLEANSTART-2026-PH37738, CLEANSTART-2026-RP24117, CLEANSTART-2026-UQ61824, CLEANSTART-2026-YS57546, DEBIAN-CVE-2026-47065, ECHO-5c2d-11c4-126d, GHSA-v3pr-hxpr-mfm8, MINI-3wh2-h8vp-c63q, MINI-4j96-v7gv-m4f9, MINI-4wjh-m6hg-fp72, MINI-6xqq-825m-hfw5, MINI-8x7w-hfj6-v594, MINI-f7hr-4pcx-g75r, MINI-fc75-jpj7-vwm3, MINI-phf8-fwf9-gv64, MINI-qccg-q7p7-6qq4, MINI-vwr7-9fx9-729h, RHLW-2026-6e6e3b76edf3a10b, UBUNTU-CVE-2026-47065

## What is CVE-2026-47065?

CVE-2026-47065 is a critical unsafe deserialization vulnerability in Apache MINA, published on 3 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official 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.

Weakness: CWE-502 (Deserialization of Untrusted Data)

## Which versions are affected by CVE-2026-47065?

6 open source packages ship an affected version, including org.apache.mina:mina-core. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.apache.mina:mina-core` | Maven | All versions | 2.0.29 |
| `org.apache.mina:mina-core` | Maven | All versions | 2.0.29 |
| `org.apache.mina:mina-core` | Maven | From 2.1.0 | 2.1.13 |
| `org.apache.mina:mina-core` | Maven | From 2.1.0 | 2.1.13 |
| `org.apache.mina:mina-core` | Maven | From 2.2.0 | 2.2.8 |
| `org.apache.mina:mina-core` | Maven | From 2.2.0 | 2.2.8 |

Products: Apache Mina.

## How do I fix CVE-2026-47065?

Upgrade org.apache.mina:mina-core to a fixed version for your release line: 2.0.29, 2.1.13 or 2.2.8.

## Is CVE-2026-47065 being exploited?

There is no known exploitation of CVE-2026-47065 in the wild and no public exploit code.

## Other vulnerabilities in Apache MINA

- [CVE-2024-52046](https://insights.sbomify.com/CVE-2024-52046/): Apache MINA: MINA applications using unbounded deserialization may allow RCE (critical 10.0)
- [CVE-2026-42778](https://insights.sbomify.com/CVE-2026-42778/): Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2) (critical 9.8)
- [CVE-2026-42779](https://insights.sbomify.com/CVE-2026-42779/): Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41635 Incomplete Fix) (critical 9.8)
- [CVE-2026-41409](https://insights.sbomify.com/CVE-2026-41409/): Apache MINA: CWE-502 Deserialization of Untrusted Data (critical 9.8)
- [CVE-2026-41635](https://insights.sbomify.com/CVE-2026-41635/): Apache MINA vulnerable to Deserialization of Untrusted Data (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-47065 and fix it if it is affected.

What it is: CVE-2026-47065 is a critical unsafe deserialization vulnerability in Apache MINA, published on 3 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-47065 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.apache.mina:mina-core (Maven): affected all versions; fixed in 2.0.29
- org.apache.mina:mina-core (Maven): affected all versions; fixed in 2.0.29
- org.apache.mina:mina-core (Maven): affected from 2.1.0; fixed in 2.1.13
- org.apache.mina:mina-core (Maven): affected from 2.1.0; fixed in 2.1.13
- org.apache.mina:mina-core (Maven): affected from 2.2.0; fixed in 2.2.8
- org.apache.mina:mina-core (Maven): affected from 2.2.0; fixed in 2.2.8

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-47065/ (Markdown: https://insights.sbomify.com/CVE-2026-47065/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-47065
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-47065
- OSV: https://osv.dev/vulnerability/CVE-2026-47065

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-47065/
Summaries are generated and may contain mistakes; the official description above is the record.
