CVE-2026-120397
Camel-Mina synchronous producer can return a previous request's reply to a later exchange when disconnectOnNoReply is false
Description
A synchronous camel-mina producer (sync=true) keeps a single, uncorrelated response handler and latch per producer, and a sync producer is pooled and reused across exchanges. When the non-default disconnectOnNoReply=false is configured, a producer whose request has timed out keeps its session open and is reused by a later exchange, so a reply the remote peer delivers after the timeout can be accepted by that later exchange as its own successful result, returning one caller's reply to a different caller. The default configuration (disconnectOnNoReply=true) closes the timed-out session before reuse and is not affected.
Mitigation
Credit
This issue was discovered by Shashank Mohan Jain
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26488 refers to the various commits that resolved the issue, and have more details.