CVE-2026-121883
Camel-Netty unmarshalls DefaultExchangeHolder without the transferExchange gate when using ObjectDecoder
Description
In Apache Camel camel-netty, when using Netty's object codec (ObjectDecoder) on a TCP consumer, NettyPayloadHelper unmarshalled incoming DefaultExchangeHolder objects without verifying whether transferExchange=true was enabled on the endpoint. An unauthenticated network attacker could transmit a crafted serialized DefaultExchangeHolder to take control of the resulting Exchange state, replacing its body, properties, variables, and headers (including Camel internal control headers) without passing through configured header filters.
Mitigation
Credit
This issue was discovered by Zhixi "Jace" Sun, independent security researcher
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26587 refers to the various commits that resolved the issue, and have more details.