CVE-2026-33453: Camel coap Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-695c-x5gc-94gj
CVSS 10.0
CWE-915
Published
Advisory Summary

CVE-2026-33453 is a CRITICAL (CVSS 10.0) remote code execution vulnerability (CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes) affecting Camel coap libraries in the Maven ecosystem. The issue involves apache camel-coap allows header injection that can lead to remote code execution. Remediation is available by upgrading affected packages to version 4.14.6, 4.18.1.

CVE-2026-33453 at a Glance

CVE Identifier CVE-2026-33453
GHSA Identifier GHSA-695c-x5gc-94gj
Severity CRITICAL
CVSS v3.1 Base Score 10.0
CWE Classification CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
Affected Product Camel coap
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 10.0

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:C/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 Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-33453

To remediate this vulnerability, upgrade all affected Camel coap 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-coap fixed: 4.14.6
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-coap</artifactId>
    <version>4.14.6</version>
</dependency>
org.apache.camel:camel-coap fixed: 4.18.1
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-coap</artifactId>
    <version>4.18.1</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-33453, 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 coap 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-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes, where the product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified. In Camel coap, 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

Apache Camel's camel-coap component is vulnerable to header injection because it maps CoAP request URI query parameters directly into Camel message headers without applying a HeaderFilterStrategy. An unauthenticated attacker can send a crafted CoAP request to inject arbitrary Camel internal headers into the exchange. When a vulnerable route forwards that exchange to a header-sensitive downstream producer, the attacker may be able to control producer behavior. For example, in routes using camel-exec, injected headers can override the configured executable and arguments, which can result in arbitrary command execution with the privileges of the Camel process. Command output may be returned to the attacker in the CoAP response. This issue affects org.apache.camel:camel-coap from 4.14.0 through 4.14.5 and from 4.18.0 before 4.18.1. It is fixed in 4.14.6, 4.18.1, and 4.19.0.

CVE-2026-33453 Affected Camel coap Versions

2 component(s)
Fixed Versions:
4.14.64.18.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.camel:camel-coap
Maven
≥ 4.14.0
< 4.14.6
4.14.6
org.apache.camel:camel-coap
Maven
≥ 4.18.0
< 4.18.1
4.18.1

References

Frequently Asked Questions

What is CVE-2026-33453?
CVE-2026-33453 is a security vulnerability in Camel coap involving Apache camel-coap allows header injection that can lead to remote code execution under CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes.
Which Camel coap versions are affected?
Affected versions include releases prior to 4.14.6, 4.18.1 across affected packages: org.apache.camel:camel-coap.
What version fixes CVE-2026-33453?
Upgrading to 4.14.6, 4.18.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is camel-coap affected?
Yes, org.apache.camel:camel-coap is affected in releases prior to 4.14.6, 4.18.1. Upgrade your dependency to 4.14.6, 4.18.1 or later.
What is the CVSS score of CVE-2026-33453?
CVE-2026-33453 has a CVSS v3.1 base score of 10.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-33453?
CVE-2026-33453 is classified under CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes (The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.).
How can I check Maven dependencies for CVE-2026-33453?
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-695c-x5gc-94gj",
  "modified" : "2026-05-05T14:45:11Z",
  "published" : "2026-04-27T12:30:38Z",
  "aliases" : [ "CVE-2026-33453" ],
  "summary" : "Apache camel-coap allows header injection that can lead to remote code execution",
  "details" : "Apache Camel's camel-coap component is vulnerable to header injection because it maps CoAP request URI query parameters directly into Camel message headers without applying a HeaderFilterStrategy. An unauthenticated attacker can send a crafted CoAP request to inject arbitrary Camel internal headers into the exchange.\n\nWhen a vulnerable route forwards that exchange to a header-sensitive downstream producer, the attacker may be able to control producer behavior. For example, in routes using camel-exec, injected headers can override the configured executable and arguments, which can result in arbitrary command execution with the privileges of the Camel process. Command output may be returned to the attacker in the CoAP response.\n\nThis issue affects org.apache.camel:camel-coap from 4.14.0 through 4.14.5 and from 4.18.0 before 4.18.1. It is fixed in 4.14.6, 4.18.1, and 4.19.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-coap"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.14.0"
      }, {
        "fixed" : "4.14.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.14.5"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-coap"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.18.0"
      }, {
        "fixed" : "4.18.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33453"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22146"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22147"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22148"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce"
  }, {
    "type" : "WEB",
    "url" : "https://camel.apache.org/security/CVE-2026-33453.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/camel/blob/main/components/camel-coap"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/CAMEL-23222"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/04/26/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-915" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-05T14:45:11Z",
    "nvd_published_at" : "2026-04-27T11:16:01Z"
  }
}