← Security advisories
Apache Camel security advisory

CVE-2026-119026

Camel-OAuth: Missing Audience and Authorized Party Validation for Access Tokens in ServletOAuth

Description

In Apache Camel camel-oauth component (from 4.11.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0), when using OAuthBearerTokenProcessor on the Jakarta Servlet backend (ServletOAuth), incoming access tokens were validated for signature and expiration, but audience (aud) and authorized party (azp) validation checks were bypassed. An actor possessing an access token minted by the identity provider for a different client or audience could present it to access routes protected by OAuthBearerTokenProcessor as the token's subject.

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.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

Credit

This issue was discovered by Shahid Shaikh (bOkAt)

Notes

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

References