← Security advisories
Apache Camel security advisory

CVE-2026-135918

Camel-AWS2-Kinesis endpoints reused the first endpoint's client across region and credential configurations

Description

In affected versions, all endpoints of a single camel-aws2-kinesis component instance shared one lazily-initialized Kinesis client. The client was built from the AWS region and credentials of whichever endpoint started first and then handed back to every other endpoint, so an endpoint configured for a different region or account could produce to or consume from the first endpoint's region and account, and stopping one endpoint could close the client the others were still using. The fix gives each endpoint its own client built from its own configuration and stops Camel from closing a client the user supplied.

Mitigation

Upgrade to Apache Camel 4.24.0, which fixes the issue.

Credit

This issue was discovered by Shashank Mohan Jain and Andrea Cosentino from Apache Software Foundation

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25909 refers to the various commits that resolved the issue, and have more details.

References