CVE-2026-105966: Apache Camel: camel-undertow does not enforce the security provider and allowed roles on WebSocket endpoints
Missing Authorization vulnerability in Apache Camel Undertow component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.
In camel-undertow, the configured securityProvider and allowedRoles were not enforced on WebSocket endpoints, so a client could open a WebSocket consumer without passing the authentication and role checks that apply to the HTTP endpoints. A route that the application intended to protect could therefore be reached without the required authorization. The fixed releases run the security-constraint checks for WebSocket consumers as well, so the same authentication and allowed roles are enforced.
Users are recommended to upgrade to 4.18.6 for the 4.18.x LTS releases stream, to 4.22.2 for the 4.22.x LTS releases stream, or to 4.23.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.18.6 - Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.22.2 - Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.23.0
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using the Apache Camel camel-undertow component are affected if they run versions from 4.0.0 before 4.18.6, or from 4.19.0 before 4.22.2, and expose WebSocket consumer routes intended to be protected by a configured securityProvider and allowedRoles.
What does an attacker need to exploit this issue?
A client only needs network access to an affected WebSocket endpoint. The vulnerable WebSocket consumer does not apply the authentication and role checks configured for the corresponding protected route.
Are HTTP endpoints affected in the same way?
The issue is specific to WebSocket endpoints in camel-undertow. The configured authentication and role checks apply to HTTP endpoints, but were not enforced for WebSocket consumers in affected releases.
What should be done if an immediate upgrade is not possible?
Restrict network access to affected WebSocket endpoints and avoid exposing WebSocket consumer routes that rely on camel-undertow securityProvider and allowedRoles for authorization. Upgrade to 4.18.6, 4.22.2, or 4.23.0 when possible.
How can I determine whether a route is vulnerable?
Review camel-undertow WebSocket consumer routes in affected versions and identify those configured to rely on securityProvider and allowedRoles. Attempting to open such an endpoint without the expected credentials or role would reveal the missing enforcement.