CVE-2026-85251: Apache Camel: Camel-HTTP Credential Disclosure to Cross-Host Redirect Targets

Published Oct 19, 2026
·
Updated

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel HTTP component.

This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.

Two paths handed credentials to a redirect target, which is a host chosen by the remote server rather than by the route, once followRedirects=true. OAuth2ClientConfigurer registers its interceptor with addRequestInterceptorFirst, and HttpClient runs protocol-level request interceptors inside ProtocolExec, which sits below RedirectExec in the exec chain; the interceptor therefore ran again for every redirect hop and re-attached Authorization: Bearer to whatever host the Location header named. Separately, credentials were registered against an AuthScope matching any host, so basic and digest credentials were presented to a redirect target as well. A remote endpoint - or anyone who can influence its responses - could therefore collect the bearer token or the configured credentials simply by answering with a redirect to a host it controls.

Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. Credentials are now sent only to the authority the endpoint was configured with, and are not re-attached when a redirect crosses to another host. For deployments that cannot upgrade immediately, set followRedirects=false on endpoints that carry credentials, and handle any redirect explicitly in the route so that the destination is chosen by the route rather than by the remote server.

Affected Software

1 affected component
Apache Camel HTTP component>=4.0.0<4.18.5, >=4.19.0<4.22.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.23.0
  2. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.18.5
  3. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.22.1
  4. Configuration

    Set followRedirects=false on endpoints that carry credentials, and handle redirects explicitly in the route so the destination is chosen by the route rather than by the remote server.

    Apache Camel HTTP component followRedirects = false

Event History

Oct 19, 2026
CVE Published
via MITRE·10:36 AM
Data Sourced
via MITRE·10:36 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using the Apache Camel HTTP component with followRedirects=true are exposed if they run Apache Camel 4.0.0 through versions before 4.18.5, or 4.19.0 through versions before 4.22.1. The issue affects flows that use OAuth2 bearer tokens or configured basic or digest credentials.

2

What does an attacker need to exploit this?

An attacker needs to operate the remote endpoint, or be able to influence its HTTP responses, so it can return a redirect whose Location header points to an attacker-controlled host. No authentication or user interaction is required according to the supplied vector.

3

What information can be disclosed?

A redirect target can receive an OAuth2 Authorization: Bearer token or configured basic or digest credentials. The affected behavior re-attaches or presents those credentials to the host selected by the redirect response.

4

What can be done if an upgrade cannot happen immediately?

The described exposure depends on followRedirects=true. Avoiding redirects or disabling redirect following where feasible prevents the redirect target from being selected by the remote server in this attack path.

5

Which versions fix the issue?

Upgrade to Apache Camel 4.23.0. For the 4.18.x LTS stream, upgrade to 4.18.5; for the 4.22.x LTS stream, upgrade to 4.22.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203