CVE-2026-47323
JSON

9.8critical

Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
19.6% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-8364-hfqj-pwm6

Description

Camel-CXF and Camel-Knative Message Header Injection via Missing Inbound Filtering The CXF and Knative HeaderFilterStrategy implementations (CxfRsHeaderFilterStrategy in camel-cxf-rest, CxfHeaderFilterStrategy in camel-cxf-transport, and KnativeHttpHeaderFilterStrategy in camel-knative-http) only filter outbound Camel-internal headers via setOutFilterStartsWith, while not configuring inbound filtering via setInFilterStartsWith. As a result, an unauthenticated attacker can inject Camel-internal headers (e.g. CamelExecCommandExecutable, CamelFileName) via HTTP requests to CXF-RS or CXF-SOAP endpoints. When a route forwards messages from these endpoints to header-driven components such as camel-exec or camel-file, the injected headers override configured values, enabling remote code execution or arbitrary file writes. This is the same pattern that was previously addressed in camel-undertow (CVE-2025-30177), the broader incoming-header filter (CVE-2025-27636 and CVE-2025-29891), and non-HTTP strategies (CVE-2026-40453). This issue affects Apache Camel: from 3.18.0 before 4.14.6, from 4.15.0 before 4.18.2. Users are recommended to upgrade to version 4.19.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.2. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.6.

Affected

Product or packageVersionsReported by
org.apache.camel:camel-cxf-restfrom 3.18.0 before 4.14.6, from 4.15.0 before 4.18.2CVE List
openshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Not specifiedCVE List
openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Not specifiedCVE List
openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Not specifiedCVE List
openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9Not specifiedCVE List
openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9Not specifiedCVE List
openshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9Not specifiedCVE List
openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9Not specifiedCVE List
openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9Not specifiedCVE List
camel-cxf-transportNot specifiedCVE List
camel-cxf-restNot specifiedCVE List
camel-cxf-rest-starterNot specifiedCVE List

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-178CWE-791

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

What each source says

CVE List

Camel-CXF and Camel-Knative Message Header Injection via Missing Inbound Filtering The CXF and Knative HeaderFilterStrategy implementations (CxfRsHeaderFilterStrategy in camel-cxf-rest, CxfHeaderFilterStrategy in camel-cxf-transport, and KnativeHttpHeaderFilterStrategy in camel-knative-http) only filter outbound Camel-internal headers via setOutFilterStartsWith, while not configuring inbound filtering via setInFilterStartsWith. As a result, an unauthenticated attacker can inject Camel-internal headers (e.g. CamelExecCommandExecutable, CamelFileName) via HTTP requests to CXF-RS or CXF-SOAP endpoints. When a route forwards messages from these endpoints to header-driven components such as camel-exec or camel-file, the injected headers override configured values, enabling remote code execution or arbitrary file writes. This is the same pattern that was previously addressed in camel-undertow (CVE-2025-30177), the broader incoming-header filter (CVE-2025-27636 and CVE-2025-29891), and non-HTTP strategies (CVE-2026-40453). This issue affects Apache Camel: from 3.18.0 before 4.14.6, from 4.15.0 before 4.18.2. Users are recommended to upgrade to version 4.19.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.2. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.6.

NVD (es)

Inyección de Cabeceras de Mensaje en Camel-CXF y Camel-Knative por Falta de Filtrado de Entrada Las implementaciones de HeaderFilterStrategy de CXF y Knative (CxfRsHeaderFilterStrategy en camel-cxf-rest, CxfHeaderFilterStrategy en camel-cxf-transport, y KnativeHttpHeaderFilterStrategy en camel-knative-http) solo filtran las cabeceras internas de Camel de salida a través de setOutFilterStartsWith, sin configurar el filtrado de entrada a través de setInFilterStartsWith. Como resultado, un atacante no autenticado puede inyectar cabeceras internas de Camel (por ejemplo, CamelExecCommandExecutable, CamelFileName) a través de solicitudes HTTP a los puntos finales CXF-RS o CXF-SOAP. Cuando una ruta reenvía mensajes desde estos puntos finales a componentes impulsados por cabeceras, como camel-exec o camel-file, las cabeceras inyectadas anulan los valores configurados, lo que permite la ejecución remota de código o escrituras de archivos arbitrarias. Este es el mismo patrón que se abordó previamente en camel-undertow (CVE-2025-30177), el filtro de cabecera de entrada 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.18.0 antes de 4.14.6, desde 4.15.0 antes de 4.18.2. Se recomienda a los usuarios actualizar a la versión 4.19.0, que corrige el problema. Si los usuarios están en la rama de versiones LTS 4.18.x, se sugiere que actualicen a 4.18.2. Si los usuarios están en la rama de versiones LTS 4.14.x, se sugiere que actualicen a 4.14.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47323 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-8364-hfqj-pwm6 changed 2026-10-05CC-BY-4.0
NVDCVE-2026-47323 changed 2026-10-26Public domain