CVE-2026-71300

Improper input validation vulnerability in Apache Camel Atmosphere Websocket component. This issue affects Apache Camel: from 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0. The camel-atmosphere-websocket producer selects which connected WebSocket peers a message is delivered to through Exchange headers, and the string values of those headers sat outside the Camel namespace: websocket.connectionKey and websocket.connectionKey.list, along with websocket.sendToAll, websocket.eventType and websocket.errorType. WebsocketEndpoint extends ServletEndpoint and so inherits HttpHeaderFilterStrategy, which filters only the Camel and camel prefixes; the dotted names therefore fell outside the filtered namespace and were admitted in both directions by every HTTP-family consumer. In a route bridging an HTTP consumer into an atmosphere-websocket producer, an external sender could supply the list header and take over the producer's dispatch decision. WebsocketProducer.process tests the list header before the single-key header, so an injected value discarded the recipient the route had selected: a notification intended for one connected client could be suppressed, or delivered instead to a different client whose connection key the sender knows. The header need not be a query parameter and need not be supplied as a list literally - Camel's HTTP binding promotes a repeated header name, and a bracketed value, to a List when mapping onto the Exchange - so an ordinary inbound HTTP header is sufficient to reach the list-valued branch. This is distinct from CVE-2026-55993, which concerns the consumer-side query-parameter path in the same component. The behaviour dates back to the introduction of these constants, first released in 2.17.0, and was unchanged until this fix. Users are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.4. For deployments that cannot upgrade immediately, strip the dispatch headers at the trust boundary before the producer, for example with removeHeaders(“websocket.*”) placed between the HTTP consumer and the atmosphere-websocket producer. Note that the fix renames the header string values into the Camel namespace, which is a breaking change for routes that set them by literal string: routes referencing the WebsocketConstants fields symbolically are unaffected, and the change is documented in the upgrade guides. As defence in depth, do not bridge an untrusted HTTP consumer directly into a WebSocket producer whose dispatch is header-driven without stripping the dispatch namespace first.
References
Link Resource
https://camel.apache.org/security/CVE-2026-71300.html Mailing List Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*

History

12 Oct 2026, 15:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de validación de entrada incorrecta en el componente Apache Camel Atmosphere Websocket. Este problema afecta a Apache Camel: desde 4.0.0 antes de 4.14.9, desde 4.15.0 antes de 4.18.4, desde 4.19.0 antes de 4.22.0. El productor camel-atmosphere-websocket selecciona a qué pares WebSocket conectados se entrega un mensaje a través de las cabeceras de Exchange, y los valores de cadena de esas cabeceras estaban fuera del espacio de nombres de Camel: websocket.connectionKey y websocket.connectionKey.list, junto con websocket.sendToAll, websocket.eventType y websocket.errorType. WebsocketEndpoint extiende ServletEndpoint y, por lo tanto, hereda HttpHeaderFilterStrategy, que filtra solo los prefijos Camel y camel; los nombres con puntos, por lo tanto, quedaron fuera del espacio de nombres filtrado y fueron admitidos en ambas direcciones por cada consumidor de la familia HTTP. En una ruta que conecta un consumidor HTTP con un productor atmosphere-websocket, un remitente externo podría proporcionar la cabecera de lista y tomar el control de la decisión de envío del productor. WebsocketProducer.process prueba la cabecera de lista antes de la cabecera de clave única, por lo que un valor inyectado descartó al destinatario que la ruta había seleccionado: una notificación destinada a un cliente conectado podría ser suprimida, o entregada en su lugar a un cliente diferente cuya clave de conexión conoce el remitente. La cabecera no necesita ser un parámetro de consulta y no necesita ser suministrada como una lista literalmente; el enlace HTTP de Camel promueve un nombre de cabecera repetido y un valor entre corchetes a una Lista al mapear en el Exchange, por lo que una cabecera HTTP entrante ordinaria es suficiente para alcanzar la rama con valor de lista. Esto es distinto de CVE-2026-55993, que concierne a la ruta de parámetro de consulta del lado del consumidor en el mismo componente. El comportamiento se remonta a la introducción de estas constantes, lanzadas por primera vez en 2.17.0, y no cambió hasta esta corrección. Se recomienda a los usuarios actualizar a la versión 4.22.0, que corrige el problema. Si los usuarios están en la rama de versiones LTS 4.14.x, se sugiere que actualicen a 4.14.9. Si los usuarios están en la rama de versiones 4.18.x, se sugiere que actualicen a 4.18.4. Para implementaciones que no pueden actualizarse inmediatamente, elimine las cabeceras de envío en el límite de confianza antes del productor, por ejemplo, con removeHeaders('websocket.*') colocado entre el consumidor HTTP y el productor atmosphere-websocket. Tenga en cuenta que la corrección renombra los valores de cadena de la cabecera al espacio de nombres de Camel, lo cual es un cambio disruptivo para las rutas que los establecen mediante cadena literal: las rutas que referencian los campos de WebsocketConstants simbólicamente no se ven afectadas, y el cambio está documentado en las guías de actualización. Como defensa en profundidad, no conecte un consumidor HTTP no confiable directamente a un productor WebSocket cuando envío está impulsado por cabeceras sin eliminar primero el espacio de nombres de envío.

Information

Published : 2026-08-24 17:18

Updated : 2026-10-12 15:10


NVD link : CVE-2026-71300

Mitre link : CVE-2026-71300

CVE.ORG link : CVE-2026-71300


JSON object : View

Products Affected

apache

  • camel
CWE
CWE-20

Improper Input Validation