MODERATE 6.8

CVE-2026-135919

Apache Camel: Camel-XMPP endpoint cache can deliver messages to the wrong participant or send them from the wrong account

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.camel » camel-xmpppreliminary
>= 4.0.0, < 4.24.0
4.24.0

Blast radius

Dependency propagation for this vulnerability will be available after the next index build.