CVE-2026-135915: Apache Camel: Camel-Undertow WebSocket OAuth token validation is shared across endpoints, allowing authentication bypass

Published Dec 3, 2026
·
Updated

Improper Authentication vulnerability in Apache Camel Undertow component.

This issue affects Apache Camel: from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.

In affected versions of the camel-undertow component, the WebSocket handler scoped OAuth (oauthProfile) token-validation state to the connection rather than to the individual endpoint, while its other WebSocket security checks (security provider, allowed roles and custom handlers) were scoped per endpoint. When a single WebSocket path is served over time by endpoints configured with different OAuth profiles, a connection validated under one endpoint's profile could be treated as OAuth-validated for another endpoint whose profile never validated it, which is an authentication/authorization bypass by an untrusted WebSocket peer. The fix scopes OAuth validation per endpoint URI so a connection is only treated as valid for the specific endpoint whose profile validated it.

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.

Affected Software

1 affected component
Apache Camel Undertow>=4.19.0<4.22.3, >=4.23.0<4.24.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.24.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.22.3

Event History

Dec 3, 2026
CVE Published
via MITRE·12:18 PM
Data Sourced
via MITRE·12:18 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via OSV·12:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Affected deployments use the camel-undertow component for WebSockets and have a single WebSocket path served over time by endpoints configured with different OAuth profiles. The affected Apache Camel versions are 4.19.0 through before 4.22.3, and 4.23.0 through before 4.24.0.

2

What does an attacker need to exploit the bypass?

An untrusted WebSocket peer needs a connection that was validated under one endpoint's OAuth profile and then reaches another endpoint using the same path but a different OAuth profile. The vulnerable implementation treats the connection as OAuth-validated even when the second endpoint's profile did not validate it.

3

How can I determine whether my configuration is at risk?

Check whether camel-undertow WebSocket endpoints reuse the same WebSocket path while specifying different oauthProfile configurations. Also verify the Camel version, as 4.22.3 and 4.24.0 contain the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203