CVE-2026-111557: Apache Camel: Camel-Elasticsearch-Rest-Client discloses configured credentials to cross-origin redirect targets
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Elasticsearch Rest Client component.
This issue affects Apache Camel: from 4.3.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
camel-elasticsearch-rest-client 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.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.24.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed to credential disclosure?
Deployments using the Camel Elasticsearch Rest Client component are affected if they run Apache Camel 4.3.0 through before 4.18.6, 4.19.0 through before 4.22.3, or 4.23.0 through before 4.24.0. The exposure occurs when the client follows a redirect to a different origin.
What does an attacker need to exploit this issue?
An attacker needs the configured Elasticsearch request to be redirected to an attacker-controlled or otherwise untrusted cross-origin host. The vulnerable client then re-sends its configured credentials to that redirect target; no authentication or user interaction is required.
What should teams do if they cannot immediately upgrade?
The provided information identifies upgrading as the remediation: use Apache Camel 4.24.0, or 4.22.3 for the 4.22.x LTS stream, or 4.18.6 for the 4.18.x LTS stream. No alternative mitigation is specified.