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-40860

CVE-2026-40860: Apache Camel JMS RCE Vulnerability

CVE-2026-40860 is a remote code execution vulnerability in Apache Camel's JMS components caused by unsafe deserialization. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: April 30, 2026

CVE-2026-40860 Overview

CVE-2026-40860 is a critical insecure deserialization vulnerability affecting Apache Camel's JMS binding components. The vulnerability exists in JmsBinding.extractBodyFromJms() within the camel-jms module and its equivalent class in camel-sjms, where incoming JMS ObjectMessage payloads are deserialized via javax.jms.ObjectMessage.getObject() without applying any ObjectInputFilter, class allowlist, or class denylist. When exploited, this vulnerability allows remote attackers to achieve arbitrary code execution on affected systems.

Critical Impact

Remote attackers can achieve arbitrary code execution by publishing crafted ObjectMessage payloads to JMS queues or topics consumed by vulnerable Apache Camel applications when a deserialization gadget chain is present on the classpath.

Affected Products

  • Apache Camel from 3.0.0 before 4.14.7
  • Apache Camel from 4.15.0 before 4.18.2
  • Apache Camel 4.19.0 before 4.20.0

Discovery Timeline

  • April 27, 2026 - CVE-2026-40860 published to NVD
  • April 28, 2026 - Last updated in NVD database

Technical Details for CVE-2026-40860

Vulnerability Analysis

This insecure deserialization vulnerability (CWE-502) affects the JMS message processing functionality in Apache Camel. The vulnerability manifests in how Camel handles incoming JMS ObjectMessage values when the mapJmsMessage option is enabled, which is the default configuration. The core issue lies in the JmsBinding.extractBodyFromJms() method, which directly deserializes message payloads using javax.jms.ObjectMessage.getObject() without implementing any security controls to filter or validate the classes being instantiated during deserialization.

The vulnerability's reach extends beyond the directly affected components. The same vulnerable code path is accessible transitively through camel-sjms2 (where Sjms2Endpoint extends SjmsEndpoint), camel-amqp (where AMQPJmsBinding extends JmsBinding), and other JMS-family components built on JmsComponent such as camel-activemq and camel-activemq6.

Root Cause

The root cause is the absence of deserialization security controls in the JMS message binding layer. When processing incoming ObjectMessage payloads, the code directly invokes getObject() without implementing an ObjectInputFilter, maintaining a class allowlist, or enforcing a class denylist. This allows arbitrary Java objects to be instantiated during the deserialization process, which can lead to remote code execution when common deserialization gadget chains (such as those in Apache Commons Collections, Spring, or other libraries) are present on the application's classpath.

Attack Vector

The attack requires network access to publish messages to JMS queues or topics that are consumed by a vulnerable Apache Camel application. An attacker must craft a malicious ObjectMessage containing a serialized Java object designed to exploit a deserialization gadget chain present on the target system's classpath. When Camel processes this message with the default mapJmsMessage option enabled, the malicious payload is deserialized, triggering the gadget chain and executing arbitrary code with the privileges of the Camel application.

The vulnerability is exploitable without authentication if the attacker has access to publish messages to the target JMS infrastructure. Common attack scenarios include environments where JMS brokers are exposed to untrusted networks or where internal users have message publishing capabilities.

Detection Methods for CVE-2026-40860

Indicators of Compromise

  • Unexpected or anomalous messages appearing in JMS queues or topics consumed by Camel applications
  • Unusual process spawning or network connections originating from Camel application processes
  • Serialized Java objects containing known gadget chain classes in JMS message payloads
  • Application crashes or unexpected exceptions related to deserialization activities

Detection Strategies

  • Monitor JMS message traffic for ObjectMessage types containing suspicious serialized payloads
  • Implement logging and alerting on deserialization exceptions or classloading anomalies in Camel applications
  • Deploy network intrusion detection signatures for known Java deserialization attack patterns
  • Audit application classpaths for common deserialization gadget chain libraries

Monitoring Recommendations

  • Enable verbose logging for JMS message processing in Camel applications to capture message metadata
  • Implement application performance monitoring to detect unusual CPU or memory consumption patterns indicative of exploitation
  • Configure alerts for unexpected outbound network connections from Camel application servers
  • Review JMS broker access logs for unauthorized message publishing activity

How to Mitigate CVE-2026-40860

Immediate Actions Required

  • Upgrade Apache Camel to version 4.20.0 or later immediately
  • For organizations on the 4.14.x LTS release stream, upgrade to version 4.14.7
  • For organizations on the 4.18.x release stream, upgrade to version 4.18.2
  • Audit all Camel applications for JMS component usage and prioritize patching accordingly

Patch Information

Apache has released patched versions that address this vulnerability. Users should upgrade to one of the following versions based on their release stream:

Release StreamFixed Version
4.14.x LTS4.14.7
4.18.x4.18.2
4.19.x+4.20.0

For detailed patch information and release notes, refer to the Apache Camel CVE-2026-40860 Advisory.

Workarounds

  • Restrict network access to JMS brokers to prevent untrusted parties from publishing messages
  • Disable the mapJmsMessage option if ObjectMessage processing is not required for your use case
  • Implement network segmentation to isolate JMS infrastructure from untrusted networks
  • Remove unnecessary deserialization gadget chain libraries from the application classpath where possible
bash
# Example: Disable mapJmsMessage in Camel route configuration
# In application.properties or equivalent configuration
camel.component.jms.map-jms-message=false

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Camel

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.50%

  • 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
  • Technical References
  • Openwall OSS-Security Discussion
  • Vendor Resources
  • Apache Camel CVE-2026-40860 Advisory
  • Related CVEs
  • CVE-2026-40453: Apache Camel RCE Vulnerability

  • CVE-2026-40048: Apache Camel RCE Vulnerability

  • CVE-2026-40473: Apache Camel RCE Vulnerability

  • CVE-2026-40858: Apache Camel RCE 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