CVE-2026-63621
JSON

5.3medium

Apache Camel: Camel-Knative: CloudEvent extension fields received in structured content mode were mapped onto message headers without applying any header filter strategy

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-vvwm-3j43-7pfm

Description

Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel Knative component The Knative consumer in camel-knative maps inbound CloudEvent attributes onto Camel message headers. In binary content mode the HTTP-header path filters Camel-internal headers through KnativeHttpHeaderFilterStrategy, but in structured content mode (Content-Type application/cloudevents+json) the CloudEvent extension fields are read directly from the JSON body and every extension key is copied into the Exchange headers without applying any HeaderFilterStrategy (CloudEventProcessors, spec versions 1.0, 1.0.1 and 1.0.2). As a result, an unauthenticated attacker can inject Camel-internal headers (e.g. CamelHttpUri, CamelHttpPath, CamelFileName) via a structured-mode CloudEvent request, matched case-insensitively against Camel's header map. When a route forwards messages from a Knative consumer to a header-driven component such as camel-http or camel-file, the injected headers override configured values, enabling server-side request forgery (SSRF), path traversal or message-dispatch redirection depending on the route. This is an incomplete fix of the inbound header filtering previously added for the binary content-mode path, and is the same pattern addressed in camel-cxf/camel-knative (CVE-2026-47323), camel-undertow (CVE-2025-30177), the broader incoming-header filter (CVE-2025-27636 and CVE-2025-29891), and the non-HTTP strategies (CVE-2026-40453). This issue affects Apache Camel: from 3.15.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.18.x LTS releases stream, then they are suggested to upgrade to 4.18.4. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. The non-LTS releases 4.15.0 through 4.17.0 and 4.19.0 through 4.21.0 are affected but do not receive a maintenance fix; users on those versions should upgrade to 4.18.4 or 4.22.0.

Affected

Product or packageVersionsReported by
org.apache.camel:camel-knativefrom 3.15.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.21.0CVE List
org.apache.camel:camel-knative (Maven)from 3.15.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0GitHub Advisory Database
apache camelfrom 3.15.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-20CWE-74

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

What each source says

CVE List

Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel Knative component The Knative consumer in camel-knative maps inbound CloudEvent attributes onto Camel message headers. In binary content mode the HTTP-header path filters Camel-internal headers through KnativeHttpHeaderFilterStrategy, but in structured content mode (Content-Type application/cloudevents+json) the CloudEvent extension fields are read directly from the JSON body and every extension key is copied into the Exchange headers without applying any HeaderFilterStrategy (CloudEventProcessors, spec versions 1.0, 1.0.1 and 1.0.2). As a result, an unauthenticated attacker can inject Camel-internal headers (e.g. CamelHttpUri, CamelHttpPath, CamelFileName) via a structured-mode CloudEvent request, matched case-insensitively against Camel's header map. When a route forwards messages from a Knative consumer to a header-driven component such as camel-http or camel-file, the injected headers override configured values, enabling server-side request forgery (SSRF), path traversal or message-dispatch redirection depending on the route. This is an incomplete fix of the inbound header filtering previously added for the binary content-mode path, and is the same pattern addressed in camel-cxf/camel-knative (CVE-2026-47323), camel-undertow (CVE-2025-30177), the broader incoming-header filter (CVE-2025-27636 and CVE-2025-29891), and the non-HTTP strategies (CVE-2026-40453). This issue affects Apache Camel: from 3.15.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.18.x LTS releases stream, then they are suggested to upgrade to 4.18.4. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. The non-LTS releases 4.15.0 through 4.17.0 and 4.19.0 through 4.21.0 are affected but do not receive a maintenance fix; users on those versions should upgrade to 4.18.4 or 4.22.0.

GitHub Advisory Database

Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel Knative component

The Knative consumer in camel-knative maps inbound CloudEvent attributes onto Camel message headers. In binary content mode the HTTP-header path filters Camel-internal headers through KnativeHttpHeaderFilterStrategy, but in structured content mode (Content-Type application/cloudevents+json) the CloudEvent extension fields are read directly from the JSON body and every extension key is copied into the Exchange headers without applying any HeaderFilterStrategy (CloudEventProcessors, spec versions 1.0, 1.0.1 and 1.0.2). As a result, an unauthenticated attacker can inject Camel-internal headers (e.g. CamelHttpUri, CamelHttpPath, CamelFileName) via a structured-mode CloudEvent request, matched case-insensitively against Camel's header map. When a route forwards messages from a Knative consumer to a header-driven component such as camel-http or camel-file, the injected headers override configured values, enabling server-side request forgery (SSRF), path traversal or message-dispatch redirection depending on the route. This is an incomplete fix of the inbound header filtering previously added for the binary content-mode path, and is the same pattern addressed in camel-cxf/camel-knative (CVE-2026-47323), camel-undertow (CVE-2025-30177), the broader incoming-header filter (CVE-2025-27636 and CVE-2025-29891), and the non-HTTP strategies (CVE-2026-40453).

This issue affects Apache Camel: from 3.15.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0.

Users are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.18.x LTS releases stream, then they are suggested to upgrade to 4.18.4. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. The non-LTS releases 4.15.0 through 4.17.0 and 4.19.0 through 4.21.0 are affected but do not receive a maintenance fix; users on those versions should upgrade to 4.18.4 or 4.22.0.

NVD (es)

Vulnerabilidad de Validación de entrada incorrecta, Neutralización incorrecta de elementos especiales en la salida utilizada por un componente descendente ('Inyección') en el componente Apache Camel Knative El consumidor de Knative en camel-knative mapea los atributos de CloudEvent entrantes en los encabezados de mensajes de Camel. En modo de contenido binario, la ruta del encabezado HTTP filtra los encabezados internos de Camel a través de KnativeHttpHeaderFilterStrategy, pero en modo de contenido estructurado (Content-Type application/cloudevents+json) los campos de extensión de CloudEvent se leen directamente del cuerpo JSON y cada clave de extensión se copia en los encabezados de Exchange sin aplicar ninguna HeaderFilterStrategy (CloudEventProcessors, versiones de especificación 1.0, 1.0.1 y 1.0.2). Como resultado, un atacante no autenticado puede inyectar encabezados internos de Camel (por ejemplo, CamelHttpUri, CamelHttpPath, CamelFileName) a través de una petición de CloudEvent en modo estructurado, que coincide sin distinción entre mayúsculas y minúsculas con el mapa de encabezados de Camel. Cuyo una ruta reenvía mensajes desde un consumidor de Knative a un componente impulsado por encabezados, como camel-http o camel-file, los encabezados inyectados anulan los valores configurados, lo que permite la falsificación de petición del lado del servidor (SSRF), el salto de ruta o la redirección de envío de mensajes dependiendo de la ruta. Esta es una corrección incompleta del filtrado de encabezados entrantes previamente añadido para la ruta en modo de contenido binario, y es el mismo patrón abordado en camel-cxf/camel-knative (CVE-2026-47323), camel-undertow (CVE-2025-30177), el filtro de encabezados entrantes más amplio (CVE-2025-27636 y CVE-2025-29891), y las estrategias no HTTP (CVE-2026-40453). Este problema afecta a Apache Camel: desde 3.15.0 antes de 4.14.9, desde 4.15.0 antes de 4.18.4, desde 4.19.0 antes de 4.21.0. 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.18.x, se les sugiere actualizar a 4.18.4. Si los usuarios están en la rama de versiones LTS 4.14.x, se les sugiere actualizar a 4.14.9. Las versiones no LTS 4.15.0 a 4.17.0 y 4.19.0 a 4.21.0 están afectadas pero no reciben una corrección de mantenimiento; los usuarios de esas versiones deben actualizar a 4.18.4 o 4.22.0.

References

https://camel.apache.org/security/CVE-2026-63621.htmlmailing-list, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-63621advisory
https://github.com/apache/camel/pull/24724web
https://github.com/apache/camel/pull/24751web
https://github.com/apache/camel/pull/24753web
https://github.com/apache/camel/pull/24768web
https://github.com/apache/camel/commit/4eb26807d40420abf45253286ce3d07c2fba448cweb
https://github.com/apache/camel/commit/5c7a8dbf1f1ed92bb4f289a50cc1765095054112web
https://github.com/apache/camel/commit/bbf680af8af4a39f808727758e72d469c2eec539web
https://github.com/apache/camelpackage
https://github.com/apache/camel/releases/tag/camel-4.14.9web
https://github.com/apache/camel/releases/tag/camel-4.18.4web

Sources

SourceRecordLicence
CVE ListCVE-2026-63621 changed 2026-08-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-vvwm-3j43-7pfm changed 2026-08-28CC-BY-4.0
NVDCVE-2026-63621 changed 2026-10-12Public domain