← Security advisories
Apache Camel security advisory

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

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.

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.

References