Apache Camel security advisory
CVE-2026-111556
Camel-Elasticsearch discloses configured credentials to cross-origin redirect targets
Description
camel-elasticsearch followed cross-origin redirects and re-sent the configured credentials to the redirect target, disclosing them to a host the operator did not configure. The fixed releases bind the credentials to the configured host and do not forward them to a cross-origin redirect target.
Mitigation
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
Credit
This issue was discovered by Shashank Mohan Jain
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25706 refers to the various commits that resolved the issue, and have more details.