Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilitywidely-deployed-product-advisoryinternet-facing-service-vulnerabilityproof-of-concept-release

Apache Camel Deserialization Flaws Expose JMS, Mina, and Infinispan Deployments to RCE

Vulnerability Disclosure · 8 sources · Updated 5mo ago · First seen Apr 26, 2026

Apache Camel Deserialization Flaws Expose JMS, Mina, and Infinispan Deployments to RCE

Apache disclosed three unsafe deserialization vulnerabilities in Apache Camel that can lead to remote code execution in deployments using camel-mina, JMS-related components, and camel-infinispan. CVE-2026-40473 affects camel-mina, where MinaConverter.toObjectInput() wraps network-supplied TCP or UDP data in java.io.ObjectInputStream without ObjectInputFilter or class-loading restrictions; a crafted serialized Java object can execute during readObject(). CVE-2026-40860 affects camel-jms, camel-sjms, camel-sjms2, and camel-amqp, where Camel deserializes JMS ObjectMessage payloads through ObjectMessage.getObject() with the default mapJmsMessage option enabled and without filtering or allow/deny lists, allowing an attacker who can publish to a consumed queue or topic to trigger code execution if a gadget chain is present.

Apache also disclosed CVE-2026-40858 in camel-infinispan, where the ProtoStream-based remote aggregation repository deserializes data from a remote Infinispan cache using java.io.ObjectInputStream without an input filter; an attacker able to write to the cache can inject a malicious serialized object that executes during normal get or recover operations. The affected versions span multiple Camel release lines, including 3.0.0 and later for the JMS issue, 3.0.0 and later for camel-mina, and 4.0.0 and later for camel-infinispan, with fixes released in 4.20.0 and backported to supported streams including 4.14.6/4.14.7 and 4.18.2. Apache tracks the flaws as CAMEL-23319, CAMEL-23321, and CAMEL-23322, with reports credited to researchers from Securin and Innora Pte. Ltd.

Why it matters

Impact assessment

Apache Camel deployments that use camel-mina, JMS-family consumers, or camel-infinispan are exposed to remote code execution through unsafe Java deserialization. The impact is severe because successful exploitation yields code execution in the application context, enabling full compromise of integration workloads, downstream systems, and connected data flows. Scope is broad across Camel 3.x and 4.x release lines, but exposure is configuration-dependent: attackers need network reachability to a MINA consumer, the ability to publish to a consumed JMS destination, or write access to a backing Infinispan cache.

Affected populations

  • Organizations running Apache Camel integration services.
  • Environments using org.apache.camel:camel-mina as a TCP or UDP consumer.
  • Environments using JMS-related Camel components including camel-jms, camel-sjms, camel-sjms2, and camel-amqp.
  • Environments using camel-infinispan with the ProtoStream-based remote aggregation repository.
  • By inheritance or shared handling path, other JMS-family components built on JmsComponent such as camel-activemq and camel-activemq6 are also implicated by the same JMS deserialization path.

Severity and business impact

  • Remote code execution can lead to service takeover, data theft, message tampering, lateral movement, and operational disruption.
  • Integration platforms often bridge internal applications, brokers, caches, and external partners, so compromise can have outsized blast radius.
  • JMS and cache-backed routes may process sensitive business events, credentials, or regulated data, increasing confidentiality and integrity risk.

Scope and exploitation status

  • Exposure is not universal across all Camel users; it depends on enabled components and route behavior.
  • CVE-2026-40473 is remotely reachable over TCP or UDP when vulnerable MINA consumers convert inbound data to ObjectInput.
  • CVE-2026-40860 is reachable when Camel consumes JMS ObjectMessage payloads with default mapJmsMessage handling and an attacker can publish to the queue or topic.
  • CVE-2026-40858 is reachable when an attacker can write to the remote Infinispan cache used by the Camel aggregation repository.
  • No confirmed in-the-wild exploitation or public incident reporting is provided in the source material.

Structured facts extracted

  • Product: Apache Camel.
  • Vulnerabilities: CVE-2026-40473, CVE-2026-40860, CVE-2026-40858.
  • Internal tracking: CAMEL-23319, CAMEL-23321, CAMEL-23322.
  • Researchers credited: Venkatraman Kumar of Securin; Feng Ning of Innora Pte. Ltd.
  • Related prior vulnerability class references: CVE-2024-22369, CVE-2024-23114, CVE-2026-25747.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Apr 24, 2026 – Apr 26, 2026
  1. Apr 26, 20267mo ago

    Apache Camel camel-consul deserialization flaw disclosed

    Apache disclosed CVE-2026-27172, an unsafe Java deserialization vulnerability in camel-consul's ConsulRegistry that can enable arbitrary code execution if an attacker can write malicious serialized data to the Consul KV store. Apache said affected versions are 3.0.0 before 4.14.6 and 4.15.0 before 4.18.1, and recommended upgrading to 4.19.0 or fixed LTS releases 4.14.6 or 4.18.1.

    oss-sec: CVE-2026-27172: Apache Camel: Unsafe Java deserialization in camel-consul ConsulRegistry allows arbitrary code execution via malicious values read from the Consul KV store
  2. Apr 26, 20267mo ago

    Apache Camel Infinispan unsafe deserialization flaw disclosed

    Apache disclosed CVE-2026-40858, an unsafe deserialization vulnerability in camel-infinispan's remote aggregation repository that could lead to code execution if an attacker can write crafted data to the remote Infinispan cache. Apache said affected versions are 4.0.0 before 4.14.7, 4.15.0 before 4.18.2, and 4.19.0 before 4.20.0, and recommended upgrading to fixed releases.

  3. Apr 26, 20267mo ago

    Apache Camel JMS components unsafe deserialization flaw disclosed

    Apache disclosed CVE-2026-40860, an unsafe deserialization vulnerability in camel-jms, camel-sjms, camel-sjms2, and camel-amqp caused by deserializing JMS ObjectMessage payloads without filtering. Apache said affected versions are 3.0.0 before 4.14.7, 4.15.0 before 4.18.2, and 4.19.0 before 4.20.0, and advised upgrading to the patched versions.

  4. Apr 26, 20267mo ago

    Apache Camel Mina unsafe deserialization vulnerability disclosed

    Apache disclosed CVE-2026-40473, a moderate-severity unsafe deserialization flaw in camel-mina's MinaConverter.toObjectInput(IoBuffer) that could allow remote code execution when vulnerable TCP or UDP consumers process crafted serialized Java objects. Apache said affected versions include 3.0.0 before 4.14.6, 4.15.0 before 4.18.2, and 4.19.0 before 4.20.0, and recommended upgrading to fixed releases.

  5. Apr 24, 20267mo ago

    Apache DolphinScheduler authorization flaw disclosed and fixed in 3.4.1

    Apache disclosed CVE-2026-23902, an incorrect authorization vulnerability that lets authenticated users use tenants not defined on the platform during workflow execution. The issue affects Apache DolphinScheduler API versions before 3.4.1, and Apache recommended upgrading to version 3.4.1.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Source coverage

Sources

8 references tracked. Mallory keeps watching after this page renders.

Cvefeed High SeverityAdvisories · Apr 27, 2026
CVE-2026-40858 - Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation RepositoryOpen source ↗
Cvefeed High SeverityAdvisories · Apr 27, 2026
CVE-2026-40473 - Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDPOpen source ↗
Oss Security Mailing ListNews · Apr 26, 2026
oss-sec: CVE-2026-40860: Apache Camel: Unsafe Deserialization of JMS ObjectMessage in camel-jms, camel-sjms, camel-sjms2 and camel-amqpOpen source ↗
Oss Security Mailing ListNews · Apr 26, 2026
oss-sec: CVE-2026-27172: Apache Camel: Unsafe Java deserialization in camel-consul ConsulRegistry allows arbitrary code execution via malicious values read from the Consul KV storeOpen source ↗
Oss Security Mailing ListNews · Apr 26, 2026
oss-sec: CVE-2026-40473: Apache Camel: Camel-Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDPOpen source ↗
Oss Security Mailing ListNews · Apr 26, 2026
oss-sec: CVE-2026-40858: Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation RepositoryOpen source ↗
Oss Security Mailing ListNews · Apr 24, 2026
oss-sec: CVE-2026-23902: Apache DolphinScheduler: Users are able to use tenants that are not defined on the platform during workflow execution.Open source ↗
Cvefeed High SeverityAdvisories · Apr 24, 2026
CVE-2026-23902 - Apache DolphinScheduler: Users are able to use tenants that are not defined on the platform during workflow execution.Open source ↗
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.