← Security advisories
Apache Camel security advisory

CVE-2026-109120

Camel-OAuth login cross-site request forgery because the bearer token processor was stateful and bound token request parameters to the browser session

Description

camel-oauth's OAuthBearerTokenProcessor was stateful and bound the bearer token request parameters it read to the browser session, so an attacker could cause bearer token request parameters to be bound to a victim's browser session, a login cross-site request forgery that let the victim operate under an identity the attacker influenced. The fixed releases make OAuthBearerTokenProcessor stateless and read the credentials per request instead of binding them to the session.

Mitigation

Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

Credit

This issue was discovered by Shashank Mohan Jain

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25568 refers to the various commits that resolved the issue, and have more details.

References