Skip to content
MediumVulnerability

CVE-2026-94386: Apache Camel OAuth component caches tokens across profiles sharing a client ID

Identifier
CVE-2026-94386
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2026-94386 affects Apache Camel from 4.19.0 before 4.22.2. The OAuthClientCredentialsTokenResolver used a static cache keyed only on token endpoint and client ID, so OAuth profiles that differ in scope or client secret received each other's tokens without authenticating under their own configuration. Exploitation requires a deployment that defines multiple profiles sharing a token endpoint and client ID.

Mitigation

Fixed in 4.23.0; users on the 4.22.x stream should upgrade to 4.22.2. The 4.19.x to 4.21.x lines are end of life and receive no fix. As a workaround, set camel.oauth.NAME.cache-tokens=false (or camel.oauth.cache-tokens=false for the default profile) on affected profiles, or register a separate client at the identity provider for each profile that differs in scope or client secret.