Apache Camel: Camel-Undertow WebSocket OAuth token validation is shared across endpoints, allowing authentication bypass
Summary
| CVE | CVE-2026-135915 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 13:17:04 UTC |
| Updated | 2026-12-03 13:17:04 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.2 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-287 | CWE-287 CWE-287 Improper Authentication
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.2 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | CVSS | 4.2 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Camel | affected 4.19.0 4.22.3 maven | Not specified |
| CNA | Apache Software Foundation | Apache Camel | affected 4.23.0 4.24.0 maven | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| issues.apache.org/jira/browse/CAMEL-25994 | [email protected] | issues.apache.org | |
| github.com/apache/camel/pull/28337 | [email protected] | github.com | |
| camel.apache.org/security/CVE-2026-135915.html | [email protected] | camel.apache.org | |
| github.com/apache/camel/pull/28297 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Andrea Cosentino (en)
CNA: Claus Ibsen (en)
Additional Advisory Data
Solutions
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.