CVE-2026-135915
Apache Camel: Camel-Undertow WebSocket OAuth token validation is shared across endpoints, allowing authentication bypass
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-undertowpreliminary | >= 4.19.0, < 4.22.3>= 4.23.0, < 4.24.0 | 4.22.3, 4.24.0 |
Blast radius
94% of the dependent artifacts (34) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 54 |
| 2 hops | 176 |
| 3 hops | 17 |
| 4 hops | 7 |
| 5 hops | 59 |
| 6 hops | 7 |
Most used dependents
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel.springboot » camel-undertow-starter12 usages
- org.apache.camel » camel-catalog-lucene8 usages
- io.openremote » openremote-manager7 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » apache-camel5 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel » camel-undertow-spring-security5 usages
- org.apache.camel » camel-elytron5 usages
- org.apache.camel » camel-catalog-console3 usages
- org.apache.camel » camel-jbang-plugin-kubernetes3 usages
- org.apache.camel » camel-report-maven-plugin3 usages
- io.openremote.extension » openremote-energy-extension2 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
