Use of Cache Containing Sensitive Information Affecting org.apache.camel:camel-http package, versions [4.0.0,4.18.5)[4.19.0,4.22.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd 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-21429384
  • published22 Oct 2026
  • disclosed19 Oct 2026
  • creditClaude Security

Introduced: 19 Oct 2026

NewCVE-2026-85317  (opens in a new tab)
CWE-524  (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 Use of Cache Containing Sensitive Information via the OAuth2 token cache in the camel-http component. The JVM-wide cache keys tokens by request URI and client credentials, so when multiple routes share those values but differ in scope, resource indicator, or token endpoint, a token minted for one configuration can be used by another. An attacker who can invoke such a route can trigger an outbound request carrying a token with broader authority than configured or one issued by a different authorization server; this requires those distinct OAuth2 configurations to run in the same JVM.

Workarounds

  • Run endpoints that differ in scope, resource indicator, or token endpoint in separate JVMs to prevent them from sharing cached tokens.

CVSS Base Scores

version 4.0
version 3.1