Skip to main content

Apache Camel CVE-2026-85317

| EUVDEUVD-2026-104205 MEDIUM
Use of Cache Containing Sensitive Information (CWE-524)
2026-10-19 apache GHSA-5q96-qxg9-rmrw
4.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deploy multiple OAuth2 camel-http endpoints differing in scope/resource/token-endpoint
  2. Delivery
    First route mints and caches token under incomplete key
  3. Exploit
    Second route hits shared static JVM cache
  4. Execution
    Over-scoped or wrong-resource token reused
  5. Impact
    Request carries broader authority than configured

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Cache-Control for sensitive pages
Exploitation Conditions

Requires a single JVM running Apache Camel (4.0.0-4.18.4 or 4.19.0-4.22.0) with at least two camel-http OAuth2 client-credentials endpoints that share the same request URI, oauth2ClientId and oauth2ClientSecret but differ in oauth2Scope, oauth2ResourceIndicator, or oauth2TokenEndpoint, with token caching enabled (oauth2CacheTokens=true). Because the token cache is a static map shared across every configurer instance and CamelContext in the JVM, these endpoints collide on the incomplete cache key. Limiting factors that make this non-default and low-risk: deployments with only one OAuth2 endpoint, or endpoints that also differ in URI or credentials, are unaffected; the outcome also depends on which route populates the cache first; and there is no external attacker vector - the authority confusion occurs between the operator's own routes.

Impact

This is a genuine-but-low-priority issue, and the signals are internally consistent. The vendor-supplied CVSS of 4.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) reflects limited confidentiality and integrity impact with high attack complexity, and the description explicitly states severity was assessed low because exploitation depends on an uncommon deployment shape. No EPSS score, no CISA KEV listing, and no public POC were provided - consistent with no public exploit identified at time of analysis. There is no SSVC decision data supplied. Importantly, the PR:N / AV:N framing is misleading for this flaw: this is not a classic remote attacker scenario but an unintentional in-JVM token-confusion bug (CWE-524) where a route is served a cached OAuth2 token minted for a different scope, resource, or authorization server. There is no external attacker action required and arguably no attacker at all - the 'exploitation' is an operator's own routes crossing authority boundaries. The network vector applies only in the sense that an over-privileged token may be presented to an upstream resource server. Net: real correctness/security defect worth patching on normal maintenance cadence, but not an urgent, widely-exploitable threat.

Exploit ScenarioDerived

An organization runs Apache Camel with two camel-http routes using the same client credentials and request URI but different oauth2Scope (e.g. 'read' vs 'read+write') and token caching enabled, in the same JVM. The route needing only 'read' runs first and caches its token; the second route - or on different timing, the first - is then handed the other route's cached token, so a narrow-scope endpoint receives broad-scope authority or a token meant for a different resource/authorization server. No public exploit code exists, and triggering it requires the specific multi-endpoint configuration plus the ordering in which routes populate the shared static cache.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Apache Camel's camel-http OAuth2 client-credentials token cache is keyed only on the request URI, client ID and client secret, so two endpoints in the same JVM that differ solely in OAuth2 scope, resource indicator or token endpoint collide on one cache entry and one route can be served a token minted for another. Affected are Apache Camel 4.0.0 through 4.18.4 and 4.19.0 through 4.22.0 with token caching enabled (oauth2CacheTokens=true) and at least two such OAuth2 endpoints configured; deployments with a single endpoint, or endpoints that also differ in URI or credentials, are not impacted. Rated CVSS 4.8 (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N, CWE-524), the practical consequence is authority confusion between the operator's own routes rather than an external attack path, and no public exploit identified at time of analysis; fixed in 4.23.0, 4.18.5 and 4.22.1.

RemediationAI

Upgrade to Apache Camel 4.23.0, which contains the corrected cache key; users on the 4.18.x LTS stream should move to 4.18.5 and 4.22.x LTS users to 4.22.1, per the advisory at https://camel.apache.org/security/CVE-2026-85317.html and the fixes in https://github.com/apache/camel/pull/25834, https://github.com/apache/camel/pull/25937 and https://github.com/apache/camel/pull/25938. Be aware of the post-upgrade side effect documented in the 4.23 upgrade guide: endpoints that previously shared a token across differing scopes, resource indicators or token endpoints will now mint one token per distinct combination, so the authorization server will see more token requests and latency can rise accordingly. If upgrading is not possible, run endpoints that differ in oauth2Scope, oauth2ResourceIndicator or oauth2TokenEndpoint in separate JVMs so they no longer share the static cache; the trade-off is additional JVM processes and memory, plus the operational cost of splitting routes that may otherwise have been co-located. Deployments with a single OAuth2 endpoint, or where every endpoint already differs in request URI or client credentials, are not exposed and can schedule the upgrade normally.

Affected VersionsENISA

Apache Camel 4.0.0 <4.18.5
Apache Camel 4.19.0 <4.22.1

Affected Packages

euvd apache_camel fix: 4.18.5, 4.22.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw sits in the camel-http component's OAuth2ClientConfigurer, which implements the OAuth2 client-credentials grant (RFC 6749 section 4.4) and caches minted access tokens in a static map that is shared by every configurer instance and every CamelContext in the JVM. Before the fix, the cache key was a Java record holding only the request URI, oauth2ClientId and oauth2ClientSecret, while the token request is actually shaped by three further parameters: oauth2Scope, oauth2ResourceIndicator (RFC 8707 resource indicators) and oauth2TokenEndpoint. Because those fields were absent from the key, two routes pointed at the same target with the same credentials but configured for different scopes, resources or authorization servers resolved to the same entry, and whichever route minted a token first determined the authority handed to the other. The upstream patch extends the OAuth2URIAndCredentials record to include tokenEndpoint, scope and resourceIndicator, and adds regression tests that close the token server and confirm a differing scope forces a cache miss while an identical scope still hits. This is CWE-524 (Use of Cache Containing Sensitive Information) manifesting as incorrect scoping of a credential rather than disclosure of the cache contents; the accompanying upgrade-guide note warns that after the fix the token endpoint will observe more requests, since each distinct scope/resource/token-endpoint combination now mints and caches its own token.

Know when Apache Camel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

AC:H because it needs a specific multi-endpoint config and cache-population ordering; PR:N as no attacker credentials are involved; C:L/I:L for token exposure and over-broad authority; A:N and S:U.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Use of Cache Containing Sensitive Information 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.

The OAuth2 client token cache is global to the JVM, and its key omitted several of the fields that determine what a token actually authorises: the requested scope, the resource indicator, and the token endpoint the token was obtained from. Two endpoints differing only in those fields therefore shared a cache entry, and an endpoint could be served a token minted for a different scope, a different resource, or by a different authorization server. The consequence is a request carrying broader authority than the endpoint was configured for, or a token presented to a party it was not issued for. Reaching it requires a deployment that configures more than one OAuth2 endpoint differing in exactly those fields, which is why the severity is assessed low.

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. The cache key now includes every field that shapes the token, so entries are no longer shared between endpoints that differ in any of them. For deployments that cannot upgrade immediately, run endpoints that differ in scope, resource indicator or token endpoint in separate JVMs so that they do not share the cache.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular Java enterprise integration framework, but not universally deployed
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-33453 CRITICAL POC
10.0 Apr 27

Remote code execution in Apache Camel's camel-coap component (versions 4.14.0-4.14.5, 4.18.0 before 4.18.1, and 4.19.0)

CVE-2026-40858 HIGH POC
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS

CVE-2026-78162 CRITICAL
10.0 Oct 19

Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1

CVE-2026-71300 CRITICAL
9.8 Aug 24

Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag

CVE-2026-78329 CRITICAL
9.8 Aug 24

Header-filter bypass in the Apache Camel Undertow component (4.11.0-4.14.8, 4.15.0-4.18.3, and 4.19.0-4.21.x) lets remot

CVE-2026-47323 CRITICAL
9.8 May 19

Remote code execution in Apache Camel 3.18.0-4.14.5 and 4.15.0-4.18.1 stems from CXF and Knative HeaderFilterStrategy im

CVE-2026-33454 CRITICAL
9.4 Apr 27

Message header injection in Apache Camel's camel-mail component (3.0.0 before 4.14.6 and 4.15.0 before 4.18.1) lets an a

CVE-2026-46590 HIGH
8.8 Jul 06

Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and

CVE-2026-27172 HIGH
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)

CVE-2026-88900 HIGH
8.8 Oct 19

Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem

CVE-2026-83531 HIGH
8.8 Oct 19

Expression language injection in the Apache Camel dynamic-router-control endpoint allows a party who can place a message

CVE-2026-78165 HIGH
8.8 Oct 19

Deserialization of untrusted data in the Apache Camel Spring Redis component (camel-spring-redis) allows an authenticate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy