CVE-2026-122029: Apache Camel: Camel-Hazelcast hazelcast-seda consumer unmarshals a DefaultExchangeHolder without the transferExchange gate
Deserialization of Untrusted Data vulnerability in Apache Camel Hazelcast component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
The camel-hazelcast hazelcast-seda consumer unmarshalled a DefaultExchangeHolder taken from the shared Hazelcast structure without checking that transferExchange was enabled, so a crafted serialized object placed on that structure was deserialized through an unfiltered ObjectInputStream, restoring attacker-controlled headers and exchange state and allowing deserialization of untrusted data. The fixed releases gate the unmarshalling behind the transferExchange option.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.24.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using the Apache Camel Hazelcast component's hazelcast-seda consumer are affected in Camel versions 4.0.0 through 4.18.5, 4.19.0 through 4.22.2, and 4.23.0 through 4.23.x. The vulnerable path reads data from a shared Hazelcast structure.
What must an attacker be able to do to exploit it?
An attacker must be able to place a crafted serialized object into the shared Hazelcast structure consumed by hazelcast-seda. The vulnerable consumer then deserializes that object with an unfiltered ObjectInputStream.
Is the vulnerable deserialization path active when transferExchange is disabled?
Yes. In affected releases, the hazelcast-seda consumer unmarshals a DefaultExchangeHolder without checking whether transferExchange is enabled. Fixed releases only perform this unmarshalling when transferExchange is enabled.
What should be done to remediate the issue?
Upgrade to Apache Camel 4.24.0, 4.22.3 for the 4.22.x LTS stream, or 4.18.6 for the 4.18.x LTS stream. These releases add the transferExchange gate before unmarshalling.