Unsafe Deserialization in org.apache.mina:mina-core
Summary
Vulnerability in org.apache.mina:mina-core (CVE-2026-41635). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 2.2.6 or later.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-41635 has been found in org.apache.mina:mina-core.
Successful exploitation can lead to full system takeover.
What to do: upgrade org.apache.mina:mina-core to 2.2.6 or later.
If unsure, ask your IT team or search "org.apache.mina:mina-core CVE-2026-41635" on the vendor's site.
CVE-2026-41635 (org.apache.mina:mina-core) — CWE-502
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 2.2.6 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Unsafe deserialization (CWE-502) exists in org.apache.mina:mina-core.
Check the vendor advisory for the affected versions of org.apache.mina:mina-core.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 2.2.6.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.apache.mina:mina-core を使っているサービスとバージョンを洗い出す。
-
2
Apply patchpatch
Upgrade org.apache.mina:mina-core to 2.2.6ステージング環境で 2.2.6 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Mavenorg.apache.mina:mina-core |
≥ 2.2.0, < 2.2.6→ 2.2.6 |
2.2.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-41635 mina2 Fix available
- Ubuntu UBUNTU-CVE-2026-41635 mina2, mina No fixed version in this record
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory nvd.nist.gov
- advisory openwall.com
- advisory github.com
- package github.com
- patch security@apache.org
- web repo.maven.apache.org