CVE-2026-46726
JSON

7.5high

Apache Camel Vertx Websocket: The inbound consumer maps externally-supplied WebSocket query and path parameters into the Exchange without a HeaderFilterStrategy, allowing injection of Camel control headers

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.03% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-hgg5-gp4c-gpcg

Description

Improper Input Validation, Exposure of Sensitive Information to an Unauthorized Actor, Server-Side Request Forgery (SSRF) vulnerability in Apache Camel in Vertx Websocket component. The camel-vertx-websocket consumer mapped inbound WebSocket query and path parameters into the Camel Exchange header map without applying any HeaderFilterStrategy (VertxWebsocketConsumer.populateExchangeHeaders()). Because nothing blocked the Camel header namespace, a client connecting to the WebSocket endpoint could set Camel-internal control headers - including CamelHttpUri (Exchange.HTTP_URI) - simply by supplying them as query parameters. In a route where the WebSocket consumer feeds a downstream HTTP producer, the injected CamelHttpUri redirects the server-side HTTP request to an attacker-chosen destination (server-side request forgery - for example to an internal service or a cloud metadata endpoint). In addition, the HTTP producer resolves Camel property placeholders on the resulting (attacker-controlled) URI, so placeholders embedded in the injected value - such as an environment-variable reference, an application property, or a vault reference - are resolved to their real values and sent to the attacker, disclosing environment variables, application properties and vault secrets. When the WebSocket endpoint is exposed without authentication, this is reachable by an unauthenticated remote attacker. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.21.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.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix makes the affected consumers apply a HeaderFilterStrategy that filters the Camel header namespace case-insensitively on inbound mapping, so externally-supplied Camel* / camel* headers are no longer copied into the Exchange. For deployments that cannot upgrade immediately, strip the Camel control headers from the inbound message before they reach any downstream producer (for example removeHeaders('Camel*') and removeHeaders('camel*') at the start of the route), require authentication on the WebSocket endpoint, and avoid bridging an untrusted consumer directly into an HTTP producer whose target URI can be driven from message headers.

Affected

Product or packageVersionsReported by
org.apache.camel:camel-vertx-websocketfrom 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0CVE List
org.apache.camel:camel-vertx-websocket (Maven)from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0GitHub Advisory Database
apache camelfrom 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-20CWE-200CWE-918

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Improper Input Validation, Exposure of Sensitive Information to an Unauthorized Actor, Server-Side Request Forgery (SSRF) vulnerability in Apache Camel in Vertx Websocket component. The camel-vertx-websocket consumer mapped inbound WebSocket query and path parameters into the Camel Exchange header map without applying any HeaderFilterStrategy (VertxWebsocketConsumer.populateExchangeHeaders()). Because nothing blocked the Camel header namespace, a client connecting to the WebSocket endpoint could set Camel-internal control headers - including CamelHttpUri (Exchange.HTTP_URI) - simply by supplying them as query parameters. In a route where the WebSocket consumer feeds a downstream HTTP producer, the injected CamelHttpUri redirects the server-side HTTP request to an attacker-chosen destination (server-side request forgery - for example to an internal service or a cloud metadata endpoint). In addition, the HTTP producer resolves Camel property placeholders on the resulting (attacker-controlled) URI, so placeholders embedded in the injected value - such as an environment-variable reference, an application property, or a vault reference - are resolved to their real values and sent to the attacker, disclosing environment variables, application properties and vault secrets. When the WebSocket endpoint is exposed without authentication, this is reachable by an unauthenticated remote attacker. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.21.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.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix makes the affected consumers apply a HeaderFilterStrategy that filters the Camel header namespace case-insensitively on inbound mapping, so externally-supplied Camel* / camel* headers are no longer copied into the Exchange. For deployments that cannot upgrade immediately, strip the Camel control headers from the inbound message before they reach any downstream producer (for example removeHeaders('Camel*') and removeHeaders('camel*') at the start of the route), require authentication on the WebSocket endpoint, and avoid bridging an untrusted consumer directly into an HTTP producer whose target URI can be driven from message headers.

NVD (es)

Validación de entrada incorrecta, Exposición de información sensible a un actor no autorizado, vulnerabilidad de falsificación de petición del lado del servidor (SSRF) en Apache Camel en el componente Vertx Websocket. El consumidor camel-vertx-websocket mapeó los parámetros de consulta y ruta de WebSocket entrantes en el mapa de encabezados de Camel Exchange sin aplicar ninguna HeaderFilterStrategy (VertxWebsocketConsumer.populateExchangeHeaders()). Debido a que nada bloqueaba el espacio de nombres de encabezados de Camel, un cliente que se conectaba al punto final de WebSocket podía establecer encabezados de control internos de Camel -incluyendo CamelHttpUri (Exchange.HTTP_URI)- simplemente suministrándolos como parámetros de consulta. En una ruta donde el consumidor de WebSocket alimenta a un productor HTTP descendente, el CamelHttpUri inyectado redirige la petición HTTP del lado del servidor a un destino elegido por el atacante (falsificación de petición del lado del servidor - por ejemplo, a un servicio interno o a un punto final de metadatos en la nube). Además, el productor HTTP resuelve los marcadores de posición de propiedades de Camel en la URI resultante (controlada por el atacante), por lo que los marcadores de posición incrustados en el valor inyectado -como una referencia a una variable de entorno, una propiedad de aplicación o una referencia a una bóveda- se resuelven a sus valores reales y se envían al atacante, divulgando variables de entorno, propiedades de aplicación y secretos de bóveda. Cuando el punto final de WebSocket se expone sin autenticación, esto es accesible por un atacante remoto no autenticado. Este problema afecta a Apache Camel: desde 4.0.0 antes de 4.14.8, desde 4.15.0 antes de 4.18.3, desde 4.19.0 antes de 4.21.0. Se recomienda a los usuarios actualizar a la versión 4.21.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.8. Si los usuarios están en la rama de versiones 4.18.x, se sugiere que actualicen a 4.18.3. La corrección hace que los consumidores afectados apliquen una HeaderFilterStrategy que filtra el espacio de nombres de encabezados de Camel sin distinguir entre mayúsculas y minúsculas en el mapeo de entrada, por lo que los encabezados Camel / camel suministrados externamente ya no se copian en el Exchange. Para implementaciones que no pueden actualizarse inmediatamente, elimine los encabezados de control de Camel del mensaje entrante antes de que lleguen a cualquier productor descendente (por ejemplo, removeHeaders(’Camel’) y removeHeaders(’camel’) al inicio de la ruta), requiera autenticación en el punto final de WebSocket y evite conectar un consumidor no confiable directamente a un productor HTTP cuya URI de destino puede ser controlada desde los encabezados del mensaje.

References

https://camel.apache.org/security/CVE-2026-46726.htmlvendor-advisory, web
http://www.openwall.com/lists/oss-security/2026/07/05/16mailing-list, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-46726advisory
https://github.com/apache/camel/pull/23285web
https://github.com/apache/camel/pull/23313web
https://github.com/apache/camel/pull/23352web
https://github.com/apache/camel/commit/1e776238202edb9d98972cff558e12b53e499647web
https://github.com/apache/camel/commit/508fc15deca97ba373eb3881a00e220eab9ec428web
https://github.com/apache/camel/commit/88c43e3af36013585b5483c671950f30e5833a5fweb
https://github.com/apache/camelpackage
https://github.com/apache/camel/releases/tag/camel-4.14.8web
https://github.com/apache/camel/releases/tag/camel-4.18.3web

Sources

SourceRecordLicence
CVE ListCVE-2026-46726 changed 2026-07-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-hgg5-gp4c-gpcg changed 2026-08-28CC-BY-4.0
NVDCVE-2026-46726 changed 2026-10-25Public domain