Skip to main content

CVE-2026-85317: CWE-524 Use of Cache Containing Sensitive Information in Apache Software Foundation Apache Camel

0
Medium
VulnerabilityCVE-2026-85317cvecve-2026-85317cwe-524
Published: 10/19/2026 (10/19/2026, 10:43:39 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Camel

Description

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.

CVSS v3.1

Score 4.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

Apache Software Foundation

Apache Camel

Affected versions
>=4.0.0 <4.18.5>=4.19.0 <4.22.1
Apache Software Foundation/org.apache.camel:camel-http
pkg:maven/Apache Software Foundation/org.apache.camel:camel-http
Affected versions
>=4.0.0 <4.18.5>=4.19.0 <4.22.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/19/2026, 11:04:34 UTC

Technical Analysis

Apache Camel versions >=4.0.0 <4.18.5 and >=4.19.0 <4.22.1 have a CWE-524 Use of Cache Containing Sensitive Information vulnerability in the OAuth2 client token cache. The cache key used to store tokens globally in the JVM omitted fields that define token authorization scope, resource indicator, and token endpoint. This caused different OAuth2 endpoints differing only in these fields to share cached tokens, potentially allowing an endpoint to use a token with broader permissions or a token issued for a different authorization server. The vulnerability requires a deployment with multiple OAuth2 endpoints differing in these fields. The issue is resolved by including all relevant fields in the cache key in Apache Camel 4.18.5, 4.22.1, and 4.23.0. As a temporary mitigation, endpoints with differing OAuth2 parameters should run in separate JVMs to avoid cache sharing.

Potential Impact

The vulnerability can lead to an endpoint receiving an OAuth2 token with broader authority than configured or a token intended for a different authorization server. This could result in unauthorized access or privilege escalation within the affected application. However, exploitation requires a specific deployment scenario with multiple OAuth2 endpoints differing in scope, resource indicator, or token endpoint. The CVSS 3.1 base score is 4.8 (medium severity), reflecting limited impact and attack complexity.

Mitigation Recommendations

Upgrade affected Apache Camel versions to 4.18.5 (for 4.18.x LTS stream), 4.22.1 (for 4.22.x LTS stream), or 4.23.0 and later, where the cache key includes all fields shaping the token, preventing cache sharing between differing endpoints. For deployments unable to upgrade immediately, run OAuth2 endpoints that differ in scope, resource indicator, or token endpoint in separate JVMs to isolate their caches and prevent token sharing.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-09-03T16:47:40.818Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad5f5a02cdf04f65643555c

Added to database: 10/19/2026, 10:49:04 UTC

Last enriched: 10/19/2026, 11:04:34 UTC

Last updated: 10/19/2026, 15:04:07 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses