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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

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.


Workaround

No workaround given by the vendor.

History

Thu, 03 Dec 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title Apache Camel: Camel-Undertow WebSocket OAuth token validation is shared across endpoints, allowing authentication bypass
Weaknesses CWE-287
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-12-03T12:18:24.330Z

Reserved: 2026-11-24T12:08:13.137Z

Link: CVE-2026-135915

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-03T13:17:04.380

Modified: 2026-12-03T13:17:04.527

Link: CVE-2026-135915

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses