Summary
CVE-2026-80312 is an improper authentication vulnerability (CWE-287) in the camel-oauth component of Apache Camel. Route-guard processors fail open: when authentication cannot be completed, the exchange is not stopped, so unauthenticated requests can reach protected endpoints. The CVSS v3.1 base score is 8.2 (High).
Technical details
- Root cause: OAuth guard processors in
camel-oauth(for exampleOAuthBearerTokenProcessor) set a response code but did not stop the exchange (exchange.setRouteStop(true)was not called) when authentication could not be completed. - Trigger conditions: No special configuration is required. An ordinary request to an OAuth-protected route, such as one sent without an
Authorizationheader, triggers the flaw. - Attack vector: Network, unauthenticated, no user interaction.
- Impact: Authentication bypass that exposes protected route resources (high confidentiality impact, low integrity impact).
Affected software
- Apache Camel
camel-oauth4.11.0 through 4.18.4 - Apache Camel
camel-oauth4.19.0 through 4.22.0
Severity
CVSS v3.1 base score 8.2 (High): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Mitigation and recommended actions
- Immediate: Upgrade to Apache Camel 4.18.5 (for the 4.18 LTS stream), 4.22.1 (for the 4.22 LTS stream), or 4.23.0. The fix makes guard processors stop the exchange and set the appropriate error status (HTTP 401) whenever an authenticated session cannot be established.
- Workaround if you can’t patch right away: Add an explicit authorization check after the OAuth processor instead of relying on it to halt the exchange. Verify that the route stops on failure.

