CVE-2026-126635: Apache Camel: Camel-OData can disclose configured backend authentication in HTTP response headers
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel OData component.
This issue affects Apache Camel: from 4.23.0 before 4.24.0.
In an integration returning an OData result through the default servlet HTTP binding, the authentication that the camel-odata endpoint generates from its configured Basic or Bearer options can be copied into the originating exchange and emitted to the caller as an HTTP response header. The remote OData service does not need to reflect it. Exposure requires the endpoint to have backend authentication configured and a response path that does not strip the added header. The fix keeps the internal OData request headers out of the mapped result so the configured credentials are not returned to the caller.
Upgrade to Apache Camel 4.24.0, which fixes the issue.
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
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Apache Camel versions 4.23.0 before 4.24.0 are exposed when a camel-odata endpoint has configured Basic or Bearer authentication and returns an OData result through the default servlet HTTP binding. The response path must also leave the added header intact.
Does an attacker need access to the remote OData service or valid credentials to exploit this?
No. The remote OData service does not need to reflect the authentication header, and the issue is remotely exploitable without privileges or user interaction. A caller that can invoke the affected integration may receive the configured backend authentication in an HTTP response header.
What should we do if we cannot upgrade immediately?
Ensure affected response paths strip the header that is added from the OData endpoint's internal request headers, or avoid returning OData results through the default servlet HTTP binding. Removing configured backend Basic or Bearer authentication from the affected endpoint also removes the stated exposure condition.
How can we determine whether credentials may already have been exposed?
Review HTTP responses from integrations matching the affected configuration for headers containing the backend Basic or Bearer authentication generated by the camel-odata endpoint. If such responses were accessible to untrusted callers, treat the configured backend credentials as potentially disclosed and rotate them.