CVE-2026-42779: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache MINA
CVE-2026-42779 is a critical deserialization vulnerability in Apache MINA versions 2.1.0 through 2.1.11 and 2.2.0 through 2.2.6. The issue arises because the classname allowlist was not properly applied in certain code branches, allowing untrusted data to bypass security checks and potentially execute arbitrary code.
AI Analysis
Technical Summary
Apache MINA's AbstractIoBuffer.resolveClass() method contains two branches for resolving classes during deserialization. One branch, handling static classes or primitive types, did not enforce the classname allowlist, enabling bypass of this security control and allowing arbitrary code execution. This vulnerability affects Apache MINA versions 2.1.0 to 2.1.11 and 2.2.0 to 2.2.6. The fix, introduced in versions 2.1.12 and 2.2.7, ensures the classname allowlist is checked before calling Class.forName(), preventing untrusted classes from being deserialized. The vulnerability is classified under CWE-502 (Deserialization of Untrusted Data) and has a CVSS 3.1 score of 9.8, indicating critical severity.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely without authentication, leading to full compromise of affected systems running vulnerable Apache MINA versions. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
Mitigation Recommendations
A fix is available in Apache MINA versions 2.1.12 and 2.2.7, which apply the classname allowlist earlier in the deserialization process to prevent this vulnerability. Users of affected versions should upgrade to these fixed releases. No vendor advisory was provided in the input, but the description clearly states the fixed versions. Until upgraded, applications remain vulnerable. There is no indication that this is a cloud service or that the vendor manages remediation server-side.
CVE-2026-42779: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache MINA
Description
CVE-2026-42779 is a critical deserialization vulnerability in Apache MINA versions 2.1.0 through 2.1.11 and 2.2.0 through 2.2.6. The issue arises because the classname allowlist was not properly applied in certain code branches, allowing untrusted data to bypass security checks and potentially execute arbitrary code.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache MINA's AbstractIoBuffer.resolveClass() method contains two branches for resolving classes during deserialization. One branch, handling static classes or primitive types, did not enforce the classname allowlist, enabling bypass of this security control and allowing arbitrary code execution. This vulnerability affects Apache MINA versions 2.1.0 to 2.1.11 and 2.2.0 to 2.2.6. The fix, introduced in versions 2.1.12 and 2.2.7, ensures the classname allowlist is checked before calling Class.forName(), preventing untrusted classes from being deserialized. The vulnerability is classified under CWE-502 (Deserialization of Untrusted Data) and has a CVSS 3.1 score of 9.8, indicating critical severity.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely without authentication, leading to full compromise of affected systems running vulnerable Apache MINA versions. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
Mitigation Recommendations
A fix is available in Apache MINA versions 2.1.12 and 2.2.7, which apply the classname allowlist earlier in the deserialization process to prevent this vulnerability. Users of affected versions should upgrade to these fixed releases. No vendor advisory was provided in the input, but the description clearly states the fixed versions. Until upgraded, applications remain vulnerable. There is no indication that this is a cloud service or that the vendor manages remediation server-side.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-29T13:32:57.549Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f47ec1cbff5d8610ae12c5
Added to database: 5/1/2026, 10:21:53 AM
Last enriched: 5/9/2026, 2:16:35 AM
Last updated: 6/15/2026, 5:24:10 PM
Views: 148
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.