Apache Camel security advisory
CVE-2026-111558
Camel-OpenSearch discloses configured credentials to cross-origin redirect targets
Description
camel-opensearch 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 on a cross-origin redirect.
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 Andrea Cosentino from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25708 refers to the various commits that resolved the issue, and have more details.