Maven
CVE-2026-94386
Apache Camel: Camel-OAuth Cross-Scope Token Reuse via an Under-Keyed JVM-Global Client Credentials Token Cache
- Severity
- Medium 4.8
- Published
- 26 Oct 2026
- Last changed
- 26 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.22.2
- Exploit chance
- 0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- CWE-524
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N- Sources
- CVE Program
Description
Use of Cache Containing Sensitive Information vulnerability in Apache Camel Oauth component.
This issue affects Apache Camel: from 4.19.0 before 4.22.2.
OAuthClientCredentialsTokenResolver obtains OAuth 2.0 bearer tokens through the client credentials grant on behalf of the components that authenticate their outbound calls with a named OAuth profile, such as camel-openai, camel-langchain4j-agent, camel-huggingface, camel-docling, camel-a2a, camel-spring-ai-chat and the IBM watsonx components, and of applications that call the OAuthClientAuthenticationFactory SPI directly. It kept the tokens it obtained in a static cache shared by every resolver instance and every CamelContext in the JVM, and keyed that cache on the token endpoint and the client ID only, although the token request also carries the client secret and the requested scope.
Affected software
| Software | Affected versions |
|---|---|
org.apache.camel:camel-oauthMaven · osv:Maven:org.apache.camel:camel-oauth |
|
About org.apache.camel:camel-oauth
This is the only vulnerability in org.apache.camel:camel-oauth in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-94386