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

CVE-2026-27172: Apache Camel RCE Vulnerability

CVE-2026-27172 is a remote code execution vulnerability in Apache Camel's ConsulRegistry that allows attackers to execute arbitrary code through deserialization. This article covers the technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-27172 Overview

A critical insecure deserialization vulnerability has been identified in Apache Camel's camel-consul component. The ConsulRegistry class (org.apache.camel.component.consul.ConsulRegistry) and its inner ConsulRegistryUtils.deserialize method read Java-serialized values from the Consul KV store and pass them directly to ObjectInputStream.readObject() without configuring an ObjectInputFilter. This oversight allows an attacker with write access to the Consul KV store backing a Camel ConsulRegistry instance to inject malicious serialized Java objects, leading to arbitrary code execution within the Camel process.

This vulnerability mirrors a class of deserialization issues previously addressed in other Camel components under CVE-2024-22369, CVE-2024-23114, and CVE-2026-25747, but was overlooked during the original remediation efforts.

Critical Impact

Attackers with Consul KV store write access can achieve remote code execution in Apache Camel applications by injecting malicious serialized Java objects.

Affected Products

  • Apache Camel versions from 3.0.0 before 4.14.6
  • Apache Camel versions from 4.15.0 before 4.18.1
  • Apache Camel camel-consul component

Discovery Timeline

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

Technical Details for CVE-2026-27172

Vulnerability Analysis

This vulnerability exists in the ConsulRegistry class within the Apache Camel camel-consul component. When Camel applications use Consul as a registry backend, they retrieve key-value pairs from the Consul KV store. The ConsulRegistryUtils.deserialize method processes these stored values by passing them directly to Java's native ObjectInputStream.readObject() method without implementing any input filtering or validation.

Java deserialization vulnerabilities are particularly dangerous because the deserialization process can trigger side effects through specially crafted object graphs. An attacker can leverage existing classes (gadget chains) in the application's classpath to achieve arbitrary code execution during the deserialization process itself, before any application-level validation occurs.

The vulnerability is exploitable remotely via network access and requires low privileges (write access to Consul KV store). No user interaction is required for exploitation, and successful attacks can result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause is the absence of an ObjectInputFilter when deserializing data from the Consul KV store. The ConsulRegistryUtils.deserialize method directly instantiates an ObjectInputStream and calls readObject() on untrusted data without restricting which classes can be deserialized. This is classified as CWE-502 (Deserialization of Untrusted Data).

Modern secure deserialization practices require implementing allowlists that restrict deserialization to only expected, safe classes. The Apache Camel team had previously addressed this pattern in other components but missed the camel-consul component during those remediation efforts.

Attack Vector

The attack vector requires an adversary to have write access to the Consul KV store that backs the vulnerable Camel application's ConsulRegistry. The attacker writes a malicious serialized Java object (constructed using a gadget chain compatible with the target application's classpath) to a key that the Camel application will subsequently read.

When the Camel application performs a registry lookup against that key, the malicious payload is deserialized, triggering the gadget chain and executing arbitrary code with the privileges of the Camel process. Common gadget chains from libraries like Apache Commons Collections, Spring Framework, or other dependencies present in typical Java applications can be leveraged for exploitation.

Detection Methods for CVE-2026-27172

Indicators of Compromise

  • Unexpected or suspicious entries in the Consul KV store, particularly those containing Base64-encoded or binary serialized Java objects
  • Anomalous process spawning or network connections originating from Camel application processes
  • Unusual memory consumption patterns or JVM crashes that may indicate deserialization exploitation attempts
  • Consul KV store access logs showing write operations from unauthorized or unexpected sources

Detection Strategies

  • Monitor Consul KV store audit logs for write operations, especially to keys used by Camel registry lookups
  • Implement Java agent-based monitoring to detect suspicious deserialization activity using tools like RASP (Runtime Application Self-Protection)
  • Deploy network segmentation and access controls to limit which systems can write to Consul KV stores
  • Utilize SentinelOne's behavioral AI to detect anomalous process behavior indicative of code execution following deserialization

Monitoring Recommendations

  • Enable verbose logging for the camel-consul component to track registry lookup operations
  • Configure alerting on Consul KV store modifications to sensitive namespaces
  • Implement application performance monitoring (APM) to detect unusual execution patterns in Camel routes

How to Mitigate CVE-2026-27172

Immediate Actions Required

  • Upgrade Apache Camel to version 4.19.0 or later immediately
  • For users on the 4.14.x LTS release stream, upgrade to version 4.14.6 or later
  • For users on the 4.18.x release stream, upgrade to version 4.18.1 or later
  • Review Consul KV store access controls and restrict write permissions to trusted systems only

Patch Information

Apache has released patched versions that implement proper ObjectInputFilter configuration to prevent deserialization of malicious objects. Users should upgrade to one of the following versions:

  • Version 4.19.0 - Recommended for latest features and security fixes
  • Version 4.14.6 - For users on the 4.14.x Long-Term Support release stream
  • Version 4.18.1 - For users on the 4.18.x release stream

For detailed information, see the Apache Camel CVE-2026-27172 Advisory.

Workarounds

  • Restrict network access to the Consul KV store using firewall rules and ACLs to limit which systems can write to it
  • Implement Consul ACL policies that enforce least-privilege access for Camel applications
  • If possible, migrate to an alternative registry implementation that does not use Java serialization
  • Deploy a Web Application Firewall (WAF) or network inspection tools to monitor for suspicious traffic to Consul endpoints
bash
# Example Consul ACL policy to restrict KV write access
# Create a policy file (camel-readonly.hcl) with read-only permissions
cat << 'EOF' > camel-readonly.hcl
key_prefix "camel/" {
  policy = "read"
}
EOF

# Apply the policy to your Consul cluster
consul acl policy create -name "camel-readonly" -rules @camel-readonly.hcl

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

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Vendor Resources
  • Apache Camel CVE-2026-27172 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-40860: Apache Camel JMS 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