Severity: 
    CVSS 3.1: 6.5 (medium) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected versions:

- Apache Camel (org.apache.camel:camel-mina) 4.0.0 before 4.18.6
- Apache Camel (org.apache.camel:camel-mina) 4.19.0 before 4.22.3
- Apache Camel (org.apache.camel:camel-mina) 4.23.0 before 4.24.0

Description:

Exposure of Data Element to Wrong Session vulnerability in Apache Camel Mina 
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.



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.



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.

Solution:

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:

Shashank Mohan Jain (finder)
Andrea Cosentino (remediation developer)

References:

https://camel.apache.org/security/CVE-2026-120397.html
https://issues.apache.org/jira/browse/CAMEL-26488
https://github.com/apache/camel/pull/28865
https://github.com/apache/camel/pull/28887
https://github.com/apache/camel/pull/28888
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-120397

Reply via email to