CVE-2026-126635
Camel-OData can disclose configured backend authentication in HTTP response headers
Description
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.
Mitigation
Credit
This issue was discovered by Andrea Cosentino from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26853 refers to the various commits that resolved the issue, and have more details.