All vulnerabilities

Maven

CVE-2026-135915

Apache Camel: Camel-Undertow WebSocket OAuth token validation is shared across endpoints, allowing authentication bypass

Severity
Medium 4.2
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
4.22.3, 4.24.0
Weakness
Improper authentication (CWE-287)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.apache.camel:camel-undertowMaven · osv:Maven:org.apache.camel:camel-undertow
  • From 4.19.0 before 4.22.3
  • From 4.23.0 before 4.24.0

About org.apache.camel:camel-undertow

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135915