CVE-2026-111556: Apache Camel: Camel-Elasticsearch discloses configured credentials to cross-origin redirect targets
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Elasticsearch component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
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.
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 affected?
Deployments using the Apache Camel Elasticsearch component are affected if they run Camel 4.0.0 through before 4.18.6, 4.19.0 through before 4.22.3, or 4.23.0 through before 4.24.0.
What does an attacker need to exploit this issue?
The configured Elasticsearch host must issue a cross-origin redirect to an attacker-controlled or otherwise untrusted host. The vulnerable component follows that redirect and re-sends its configured credentials to the redirect target; no authentication or user interaction is required.
What should we do to remediate the exposure?
Upgrade to Apache Camel 4.24.0. For supported LTS streams, upgrade 4.22.x deployments to 4.22.3 or 4.18.x deployments to 4.18.6.
What changes after applying the fix?
Fixed releases bind configured credentials to the configured host. Credentials are no longer forwarded when a redirect crosses to a different origin.