Severity:
CVSS 3.1: 4.2 (medium) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Affected versions:
- Apache Camel (org.apache.camel:camel-undertow) 4.19.0 before 4.22.3
- Apache Camel (org.apache.camel:camel-undertow) 4.23.0 before 4.24.0
Description:
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.
Solution:
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.
Credit:
Andrea Cosentino (finder)
Claus Ibsen (remediation developer)
References:
https://camel.apache.org/security/CVE-2026-135915.html
https://issues.apache.org/jira/browse/CAMEL-25994
https://github.com/apache/camel/pull/28297
https://github.com/apache/camel/pull/28337
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-135915