CVE-2026-114367
Camel-AS2 Cross-Partner MDN Credential and Allow-List Confusion via Shared Per-Port Server Connection
Description
camel-as2 keeps one server connection per listening port and builds it from the first endpoint configured on that port. The signing and decrypting material was already selected per request path, but the credentials used to authenticate an asynchronous Message Disposition Notification (mdnUserName, mdnPassword, mdnAccessToken) and the asyncMdnAllowedHosts list were taken from that first endpoint for every consumer on the port. Where a deployment serves several trading partners on one port under different request paths, the receipt for a message sent to another partner's path was therefore delivered with the first partner's credentials, to a sender-chosen address constrained only by the first partner's allow-list, while the other consumer's own credentials and allow-list were ignored without any warning.
Mitigation
Credit
This issue was discovered by Shashank Mohan Jain
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25918 refers to the various commits that resolved the issue, and have more details.