CVE-2026-41635
Received
Received - Intake
Class Allowlist Bypass in Apache MINA IoBuffer Enables RCE
Publication date: 2026-04-27
Last updated on: 2026-04-29
Assigner: Apache Software Foundation
Description
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.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and
2.2.0 <= 2.2.5.
The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 by
applying the classname allowlist earlier.
Affected are applications using Apache MINA that callΒ IoBuffer.getObject().
Applications using Apache MINA are advised to upgrade.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | mina | From 2.0.0 (inc) to 2.0.28 (exc) |
| apache | mina | From 2.1.0 (inc) to 2.1.11 (exc) |
| apache | mina | From 2.2.0 (inc) to 2.2.6 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-502 | The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. |