← Security advisories
Apache Camel security advisory

CVE-2026-122029

Camel-Hazelcast hazelcast-seda consumer unmarshals a DefaultExchangeHolder without the transferExchange gate

Description

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.

Mitigation

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.

Credit

This issue was discovered by Andrea Cosentino from Apache Software Foundation and Zhixi "Jace" Sun, independent security researcher

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26278 refers to the various commits that resolved the issue, and have more details.

References