Severity:
CVSS 3.1: 6.8 (medium) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected versions:
- Apache Camel (org.apache.camel:camel-xmpp) 4.0.0 before 4.24.0
Description:
Exposure of Data Element to Wrong Session vulnerability in Apache Camel XMPP
component.
This issue affects Apache Camel: from 4.0.0 before 4.24.0.
Apache Camel's camel-xmpp component kept its own endpoint cache keyed only by
the XMPP scheme, host, port and query string, omitting the user and the chat
participant that carry identity in an XMPP endpoint URI. Because of that, two
routes configured for different participants or different users on the same
server could be collapsed onto a single cached endpoint, so a message could be
delivered to the wrong participant and messages could be sent through the wrong
account's credentials. The fix removes the component-level endpoint cache so
that each distinct endpoint URI yields its own endpoint (connections are still
shared per account), and ships in Apache Camel 4.24.0, 4.22.3 and 4.18.6.
Upgrade to Apache Camel 4.24.0, which fixes the issue.
Solution:
Upgrade to Apache Camel 4.24.0, which fixes the issue.
Credit:
Shashank Mohan Jain (finder)
Shashank Mohan Jain (remediation developer)
References:
https://camel.apache.org/security/CVE-2026-135919.html
https://issues.apache.org/jira/browse/CAMEL-25841
https://github.com/apache/camel/pull/28262
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-135919