CVE-2026-105966
Camel-Undertow: the configured security provider and allowed roles are not enforced on WebSocket endpoints
Description
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.
Mitigation
Credit
This issue was discovered by Andrea Cosentino from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25375 refers to the various commits that resolved the issue, and have more details.