Skip to content
Security Alerts

CVE-2026-41635: Class allowlist bypass in Apache MINA

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 execution...

Summary

ParameterValue
CVE IDCVE-2026-41635
Alert SourceGitHub Advisory - Critical Vulnerability
CVE Publication Year2026
Date Published2026-04-27
VendorApache Software Foundation
ProductApache MINA
CVSS Score9.8 (critical)
EPSS ScoreNo data
CISA KEVNo
RansomwareNot confirmed

Vulnerability 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 whether 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.

Required Actions

Update Apache MINA to version 2.0.28, 2.1.11, or 2.2.6 (depending on the line in use) immediately. Until the patch is deployed, avoid deserializing Java objects from untrusted sources and consider introducing a global JVM deserialization filter (-Djdk.serialFilter=...). Review Java application transitive dependencies for older versions of MINA.

Who Is Affected?

This vulnerability affects Apache MINA by Apache Software Foundation. Check whether your organization uses Apache MINA for Java object deserialization and update all instances to a patched version without delay.

Sources


Need help securing your systems? nFlo team offers vulnerability management and 24/7 SOC services. Contact us.

Learn More

Share:

Talk to an expert

Have questions about this topic? Get in touch with our specialist.

Sales Representative
Grzegorz Gnych

Grzegorz Gnych

Sales Representative

Response within 24 hours
Free consultation
Individual approach

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a free consultation - we respond within 24h

Response in 24h Free quote No obligations

Or download free guide:

Download NIS2 Checklist