Apache Camel WebSocket endpoints bypass authorization
CVE-2026-105966 and 2 more
Protected web routes can be walked past, exposing internal paths.
- CVE
- CVE-2026-105966 and 2 more
- Score
- CVSS 8.2 · CVE-2026-105966
- First seen
Mitigation
Update to 4.18.6 on the 4.18.x LTS line, 4.22.2 on the 4.22.x LTS line, or 4.23.0. Until then, use a removeHeaders EIP before the response is produced to strip the internal headers.
Update to at least the version for your product:
- Apache Software Foundation Camel 4.18.x LTS 4.18.6 or later
- Apache Software Foundation Camel 4.22.x LTS 4.22.2 or later
Can't update yet?
Add this line to the config file:
removeHeaders EIP
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
On Apache Camel, the camel-undertow WebSocket endpoints do not enforce the security provider and allowed roles, so a client can reach protected routes without authorization. The same release also fixes internal header leaks in SOAP responses and a substring role match bypass in netty-http.
Affected when
- CVE-2026-105966 securityProvider or allowedRoles set on camel-undertow WebSocket endpoints
- CVE-2026-103873 camel-spring-ws in use
- CVE-2026-105968 security-constraint roles used with camel-netty-http
1 other Incident of this product in the last 30 days
Incidents by product: Apache Camel
Other recent Incidents of Apache Camel
3 CVEs (every link below opens in a new tab)
Read the advisory · camel.apache.org (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-105966WebSocket connections can skip login and role checks and reach protected routes. CVSS 8.2 CVE-2026-105966 advisory
- CVE-2026-105968A role whose name only contains a required role can pass the security constraint. CVSS 7.1 CVE-2026-105968 advisory
- CVE-2026-103873Internal routing headers are copied into SOAP responses sent to clients. CVSS 5.3 CVE-2026-103873 advisory
Discussion (3): seclists.org
- CVE-2026-103873: Apache Camel: camel-spring-ws does not apply the HeaderFilterStrategy to outbound SOAP responses, disclosing Camel-internal headers to clients (opens in a new tab)
- CVE-2026-105966: Apache Camel: camel-undertow does not enforce the security provider and allowed roles on WebSocket endpoints (opens in a new tab)
- CVE-2026-105968: Apache Camel: camel-netty-http matches security-constraint roles by substring instead of exact value (opens in a new tab)