Insertion of Sensitive Information Into Sent Data Affecting org.apache.camel:camel-http package, versions [4.0.0,4.18.5)[4.19.0,4.22.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-21429351
  • published22 Oct 2026
  • disclosed19 Oct 2026
  • creditClaude Security

Introduced: 19 Oct 2026

NewCVE-2026-85251  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-http to version 4.18.5, 4.22.1 or higher.

Overview

org.apache.camel:camel-http is a versatile open-source integration framework based on known Enterprise Integration Patterns.

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data via the OAuth2ClientConfigurer and basic/digest credential-provider handling in the camel-http component. With followRedirects=true, an attacker can obtain an OAuth2 bearer token by causing the endpoint’s remote server to redirect to an attacker-controlled host; for basic/digest authentication, when authHost is unset, the credentials match any host and are offered if the redirect target issues an authentication challenge. This exposes the configured credentials to the redirect target.

Notes

  • At the redirect step, the attacker must control the remote endpoint or be able to influence its responses so it returns a redirect to the attacker-controlled host.

Workarounds

  • Set followRedirects=false on Camel HTTP endpoints that carry credentials, and handle redirects explicitly in the route so the remote server cannot choose a destination that receives those credentials.

CVSS Base Scores

version 4.0
version 3.1