CVE-2026-47323: Camel cxf rest Camel-CXF And Camel-Knative Message Header Vulnerability

CRITICAL
Advisory Identifier: GHSA-8364-hfqj-pwm6
CVSS 9.8
CWE-791 CWE-178
Published
Advisory Summary

CVE-2026-47323 is a CRITICAL (CVSS 9.8) camel-cxf and camel-knative message header vulnerability (CWE-791: Incomplete Filtering of Special Elements) affecting Camel cxf rest libraries in the Maven ecosystem. The issue involves camel-cxf and camel-knative message header are vulnerable to injection via missing inbound filtering. Remediation is available by upgrading affected packages to version 4.14.6, 4.18.2.

CVE-2026-47323 at a Glance

CVE Identifier CVE-2026-47323
GHSA Identifier GHSA-8364-hfqj-pwm6
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-791: Incomplete Filtering of Special Elements
Affected Product Camel cxf rest
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-47323

To remediate this vulnerability, upgrade all affected Camel cxf rest dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.camel:camel-cxf-rest fixed: 4.14.6
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-cxf-rest</artifactId>
    <version>4.14.6</version>
</dependency>
org.apache.camel:camel-cxf-rest fixed: 4.18.2
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-cxf-rest</artifactId>
    <version>4.18.2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.camel

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-47323, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.camel

Analyze the terminal output to locate any version of Camel cxf rest in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.14.6), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.camel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-791: Incomplete Filtering of Special Elements, where the product receives data from an upstream component, but does not completely filter special elements before sending it to a downstream component. In Camel cxf rest, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-47323 Affected Camel cxf rest Versions

2 component(s)
Fixed Versions:
4.14.64.18.2
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.camel:camel-cxf-rest
Maven
≥ 3.18.0
< 4.14.6
4.14.6
org.apache.camel:camel-cxf-rest
Maven
≥ 4.15.0
< 4.18.2
4.18.2

References

Frequently Asked Questions

What is CVE-2026-47323?
CVE-2026-47323 is a security vulnerability in Camel cxf rest involving Camel-CXF and Camel-Knative Message Header are Vulnerable to Injection via Missing Inbound Filtering under CWE-791: Incomplete Filtering of Special Elements.
Which Camel cxf rest versions are affected?
Affected versions include releases prior to 4.14.6, 4.18.2 across affected packages: org.apache.camel:camel-cxf-rest.
What version fixes CVE-2026-47323?
Upgrading to 4.14.6, 4.18.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is camel-cxf-rest affected?
Yes, org.apache.camel:camel-cxf-rest is affected in releases prior to 4.14.6, 4.18.2. Upgrade your dependency to 4.14.6, 4.18.2 or later.
What is the CVSS score of CVE-2026-47323?
CVE-2026-47323 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-47323?
CVE-2026-47323 is classified under CWE-791: Incomplete Filtering of Special Elements (The product receives data from an upstream component, but does not completely filter special elements before sending it to a downstream component.).
How can I check Maven dependencies for CVE-2026-47323?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.camel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8364-hfqj-pwm6",
  "modified" : "2026-10-05T18:39:30Z",
  "published" : "2026-05-19T15:31:31Z",
  "aliases" : [ "CVE-2026-47323" ],
  "summary" : "Camel-CXF and Camel-Knative Message Header are Vulnerable to Injection via Missing Inbound Filtering",
  "details" : "Camel-CXF and Camel-Knative Message Header Injection via Missing Inbound Filtering\n\nThe 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).\n\n\nThis issue affects Apache Camel: from 3.18.0 before 4.14.6, from 4.15.0 before 4.18.2.\n\nUsers 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-cxf-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.18.0"
      }, {
        "fixed" : "4.14.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-cxf-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.15.0"
      }, {
        "fixed" : "4.18.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47323"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-47323"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2479869"
  }, {
    "type" : "WEB",
    "url" : "https://camel.apache.org/security/CVE-2026-47323.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/camel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-178", "CWE-791" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-04T18:49:44Z",
    "nvd_published_at" : "2026-05-19T14:16:48Z"
  }
}