CVE-2026-42779

CRITICAL LAB

Apache MINA: AbstractIoBuffer.resolveClass() null-clazz Branch Skips acceptMatchers Filter — Full Object Deserialization RCE (take 2)

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-42779. PoCs published by dinosn.

AI-analyzed exploit summary This repository contains functional exploit code demonstrating CVE-2026-42779, a deserialization filter bypass in Apache MINA. The PoC shows how crafted type-0 descriptors bypass the acceptMatchers filter, enabling arbitrary class loading and potential RCE via gadget chains.

Description

The fix for CVE-2026-41635 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: Apache MINA's AbstractIoBuffer.resolveClass() contains two branches, one of them (for static classes or primitive types) does not check the class at all, bypassing the classname allowlist and allowing arbitrary code to be executed. The fix checks if the class is present in the accepted class filter before calling Class.forName(). Affected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6. The problem is resolved in Apache MINA 2.1.12, and 2.2.7 by applying the classname allowlist earlier. Affected are applications using Apache MINA that call IoBuffer.getObject(). Applications using Apache MINA are advised to upgrade.

Exploits (1)

github WORKING POC 1 stars
by dinosn · javapoc
https://github.com/dinosn/CVE-2026-42779

This repository contains functional exploit code demonstrating CVE-2026-42779, a deserialization filter bypass in Apache MINA. The PoC shows how crafted type-0 descriptors bypass the acceptMatchers filter, enabling arbitrary class loading and potential RCE via gadget chains.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: Apache MINA 2.2.6
No auth needed
Prerequisites: network access to MINA endpoint · suitable gadget chain library on classpath
devstral-2 · analyzed May 02, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.8
EPSS 0.0093
EPSS Percentile 55.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull eclipse-temurin:17-jdk-jammy

Details

CWE
CWE-502
Status published
Products (5)
apache/mina 2.1.0 - 2.1.12
Apache Software Foundation/Apache MINA 2.1.X - 2.1.11
Apache Software Foundation/Apache MINA 2.2.X - 2.2.6
org.apache.mina/mina-core 2.1.0 - 2.1.12Maven
org.apache.mina/mina-core 2.2.0 - 2.2.7Maven
Published May 01, 2026
Tracked Since May 01, 2026