CVE-2026-47065Apache Mina
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Mina We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Jun 3, 2026
- Updated
- Jul 22, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mina.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.mina:mina-core |
≥ 2.2.0 < 2.2.8 |
2.2.8 |
— |
| Maven | org.apache.mina:mina-core |
≥ 2.1.0 < 2.1.13 |
2.1.13 |
— |
| Maven | org.apache.mina:mina-core |
< 2.0.29 |
2.0.29 |
— |
Per OSV / GitHub Advisories (GHSA-v3pr-hxpr-mfm8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | mina | 2.0.29 |
| apache | mina | 2.1.13 |
| apache | mina | 2.2.8 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory