A vulnerability in the Apache Camel AS2 component allows exposure of authentication credentials and access controls across different trading partners sharing the same listening port. This occurs because the component uses the credentials and allowed-host list from the first configured endpoint on a port for all consumers on that port, potentially leaking sensitive information. The issue affects Apache Camel versions from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, and from 4.23.0 before 4.24.0. Upgrading to Apache Camel 4.24.0 or the respective fixed LTS versions mitigates the issue.