Authentication bypass in Apache Camel Undertow WebSocket OAuth validation
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
Apache Camel from 4.19.0 before 4.22.3 and from 4.23.0 before 4.24.0 has an improper authentication flaw (CWE-287) in the camel-undertow component. The WebSocket handler stores OAuth token-validation state per connection rather than per endpoint, so a connection validated under one endpoint's OAuth profile can be treated as validated for another endpoint on the same WebSocket path. A remote, untrusted WebSocket peer can bypass authentication and authorization checks on the affected endpoint.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Apache Camel to 4.24.0 or to 4.22.3 for the 4.22.x LTS release stream. The sources list no advisory identifiers for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.22.3, 4.24.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Camel 4.22.3, 4.24.0
4 records Highest priority Priority MEDIUM 2 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-103608 Apache Camel Vertx HTTP sends HTTPS requests in cleartext without TLSPriority MEDIUM 48
- TI-2026-103540 Apache Camel A2A component exposes tasks across authenticated callersPriority MEDIUM 44
- TI-2026-103613 Header sharing in Apache Camel A2A lets remote callers alter requestsPriority LOW 32
Timeline
- 2026-12-03 Threatist record created from CVE-2026-135915
- 2026-12-03 Alias added: GHSA-j2c7-hq38-j25m
- 2026-12-03 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
- TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-135915 · CVE Program
- CVE-2026-135915 · NVD
- GHSA-j2c7-hq38-j25m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences