CVE-2026-135919
Camel-XMPP endpoint cache can deliver messages to the wrong participant or send them from the wrong account
Description
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.
Mitigation
Credit
This issue was discovered by Shashank Mohan Jain
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25841 refers to the various commits that resolved the issue, and have more details.