The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42779

CVE-2026-42779: Apache Mina RCE Vulnerability

CVE-2026-42779 is a remote code execution vulnerability in Apache Mina affecting versions 2.1.0-2.1.11 and 2.2.0-2.2.6. Attackers can bypass classname allowlist checks to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 7, 2026

CVE-2026-42779 Overview

CVE-2026-42779 is an unsafe deserialization vulnerability in Apache MINA's AbstractIoBuffer.resolveClass() method. The original fix for CVE-2026-41635 was not backported to the 2.1.X and 2.2.X branches, leaving these versions exposed. The resolveClass() method contains two branches, and the branch handling static classes or primitive types skips the classname allowlist check entirely. Attackers can bypass the deserialization filter and trigger arbitrary code execution through Class.forName(). Affected versions include Apache MINA 2.1.0 through 2.1.11 and 2.2.0 through 2.2.6. Applications calling IoBuffer.getObject() are exposed to remote exploitation.

Critical Impact

Network-reachable applications using vulnerable Apache MINA versions can be exploited for unauthenticated remote code execution through crafted serialized payloads.

Affected Products

  • Apache MINA 2.1.0 through 2.1.11
  • Apache MINA 2.2.0 through 2.2.6
  • Applications using Apache MINA that invoke IoBuffer.getObject()

Discovery Timeline

  • 2026-05-01 - CVE-2026-42779 published to NVD
  • 2026-05-01 - Last updated in NVD database

Technical Details for CVE-2026-42779

Vulnerability Analysis

The vulnerability is classified under [CWE-502] Deserialization of Untrusted Data. Apache MINA provides IoBuffer.getObject() as a convenience method for reading serialized Java objects from a network buffer. To prevent deserialization gadget attacks, MINA implements a classname allowlist enforced inside AbstractIoBuffer.resolveClass(). The fix shipped for CVE-2026-41635 in earlier branches was never propagated to the 2.1.X and 2.2.X release lines, regressing the security posture of those versions.

When an application calls IoBuffer.getObject() on attacker-controlled input, the unsafe code path resolves classes without enforcing the allowlist. This allows the deserializer to load arbitrary classes available on the classpath, enabling gadget chain exploitation patterns commonly seen in libraries like Apache Commons Collections.

Root Cause

The resolveClass() implementation contains two distinct code paths. One path handles regular class descriptors and consults the accepted class filter. The second path, used for static classes or primitive types, calls Class.forName() directly without consulting the allowlist. The patch in versions 2.1.12 and 2.2.7 applies the classname allowlist earlier in the resolution flow, ensuring both branches enforce the filter before any class loading occurs.

Attack Vector

Exploitation requires no authentication and no user interaction. An attacker sends a crafted serialized object stream to a network endpoint backed by Apache MINA where the application invokes IoBuffer.getObject(). The deserializer resolves a malicious gadget class, triggering side effects during object reconstruction that culminate in arbitrary code execution within the JVM process. Because Apache MINA is commonly used in protocol servers, exposure typically aligns with internet-facing or intranet-facing service ports.

Detection Methods for CVE-2026-42779

Indicators of Compromise

  • Unexpected child processes spawned by Java processes hosting Apache MINA services, particularly shell interpreters or scripting engines.
  • Outbound network connections from MINA-backed services to unfamiliar hosts immediately following inbound traffic spikes.
  • Java stack traces in application logs referencing AbstractIoBuffer.resolveClass alongside unfamiliar class names.
  • Inbound traffic containing the Java serialization magic bytes AC ED 00 05 to ports served by MINA applications.

Detection Strategies

  • Inventory all Java applications and identify dependencies on org.apache.mina:mina-core versions in the affected ranges.
  • Inspect source code and bytecode for usage of IoBuffer.getObject() to determine real exploitability of each deployment.
  • Deploy network signatures matching Java serialization headers on ports hosting MINA-based protocols.

Monitoring Recommendations

  • Monitor JVM process behavior for anomalous child process creation, file writes, and outbound connections from MINA service accounts.
  • Enable verbose deserialization logging where supported and forward events to a centralized analytics platform.
  • Alert on classloading of high-risk classes such as Runtime, ProcessBuilder, or known gadget chain classes within MINA-hosted JVMs.

How to Mitigate CVE-2026-42779

Immediate Actions Required

  • Upgrade Apache MINA to version 2.1.12 or 2.2.7 depending on the branch in use.
  • Audit all applications for calls to IoBuffer.getObject() and prioritize patching network-exposed services first.
  • Remove unused gadget-prone dependencies from the classpath of MINA applications, including legacy Commons Collections versions.

Patch Information

The Apache MINA project resolved the issue in versions 2.1.12 and 2.2.7 by applying the classname allowlist earlier in AbstractIoBuffer.resolveClass(), ensuring the static class and primitive type branch is also subject to filter enforcement. Refer to the Apache Security List Post for vendor guidance.

Workarounds

  • Restrict the classname allowlist passed to MINA's deserialization filter to the minimum set of trusted classes required by the application.
  • Place network filtering controls in front of MINA-backed services to limit exposure to trusted clients only.
  • Where feasible, replace IoBuffer.getObject() usage with a safer serialization format such as JSON or Protocol Buffers.
bash
# Maven dependency upgrade example
# Update pom.xml to a fixed Apache MINA release
# <dependency>
#   <groupId>org.apache.mina</groupId>
#   <artifactId>mina-core</artifactId>
#   <version>2.2.7</version>
# </dependency>
mvn versions:set-property -Dproperty=mina.version -DnewVersion=2.2.7
mvn dependency:tree | grep mina-core

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Mina

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.19%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Vendor Resources
  • Apache Security List Post
  • Related CVEs
  • CVE-2026-41635: Apache Mina RCE Vulnerability

  • CVE-2024-52046: Apache Mina RCE Vulnerability

  • CVE-2026-42778: Apache Mina Deserialization Vulnerability

  • CVE-2026-41409: Apache Mina XXE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English