Vulnerabilities in pkg:maven/org.apache.camel/camel-coap

PACKAGE
Advisory Identifier: GHSA-jg2m-9x48-3gvj
Advisory Summary

CVE-2026-40453 is a CRITICAL (CVSS 9.9) apache camel has an incomplete vulnerability (CWE-178: Improper Handling of Case Sensitivity) affecting Camel coap libraries in the Maven ecosystem. The issue involves apache camel has an incomplete fix for cve-2025-27636. Remediation is available by upgrading affected packages to version 4.14.6, 4.18.2, 4.20.0.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.camel/camel-coap

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.camel/camel-coap. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jg2m-9x48-3gvj CVE-2026-40453 CRITICAL Apache Camel has an incomplete fix for CVE-2025-27636
GHSA-695c-x5gc-94gj CVE-2026-33453 CRITICAL Apache camel-coap allows header injection that can lead to remote code execution

CVE-2026-40453 at a Glance

CVE Identifier CVE-2026-40453
GHSA Identifier GHSA-jg2m-9x48-3gvj
Severity CRITICAL
CVSS v3.1 Base Score 9.9
CWE Classification CWE-178: Improper Handling of Case Sensitivity
Affected Product Camel coap
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.9

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
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-40453

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.2
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-coap</artifactId>
    <version>4.18.2</version>
</dependency>
org.apache.camel:camel-coap fixed: 4.20.0
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-coap</artifactId>
    <version>4.20.0</version>
</dependency>
org.apache.camel:camel-google-pubsub fixed: 4.14.6
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-google-pubsub</artifactId>
    <version>4.14.6</version>
</dependency>
org.apache.camel:camel-google-pubsub fixed: 4.18.2
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-google-pubsub</artifactId>
    <version>4.18.2</version>
</dependency>
org.apache.camel:camel-google-pubsub fixed: 4.20.0
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-google-pubsub</artifactId>
    <version>4.20.0</version>
</dependency>
org.apache.camel:camel-jms fixed: 4.14.6
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-jms</artifactId>
    <version>4.14.6</version>
</dependency>
org.apache.camel:camel-jms fixed: 4.18.2
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-jms</artifactId>
    <version>4.18.2</version>
</dependency>
org.apache.camel:camel-jms fixed: 4.20.0
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-jms</artifactId>
    <version>4.20.0</version>
</dependency>
org.apache.camel:camel-sjms fixed: 4.14.6
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-sjms</artifactId>
    <version>4.14.6</version>
</dependency>
org.apache.camel:camel-sjms fixed: 4.18.2
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-sjms</artifactId>
    <version>4.18.2</version>
</dependency>
org.apache.camel:camel-sjms fixed: 4.20.0
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-sjms</artifactId>
    <version>4.20.0</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-40453, 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-178: Improper Handling of Case Sensitivity, where the product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results. 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

The fix for CVE-2025-27636 added setLowerCase(true) to HttpHeaderFilterStrategy so that case-variant header names such as 'CAmelExecCommandExecutable' are filtered out alongside 'CamelExecCommandExecutable'. The same setLowerCase(true) call was not applied to five non-HTTP HeaderFilterStrategy implementations: JmsHeaderFilterStrategy and ClassicJmsHeaderFilterStrategy in camel-jms, SjmsHeaderFilterStrategy in camel-sjms, CoAPHeaderFilterStrategy in camel-coap, and GooglePubsubHeaderFilterStrategy in camel-google-pubsub. Because those strategies use case-sensitive String.startsWith('Camel'/'camel') filtering while the Camel Exchange stores headers in a case-insensitive map, an attacker with JMS (or equivalent) producer access to the broker consumed by a Camel route can inject case-variant Camel internal headers, which are then resolved by downstream components such as camel-exec and camel-file using their canonical casing. This enables remote code execution and arbitrary file write on routes that forward JMS messages to header-driven components. This issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0. Users are recommended to upgrade to version 4.20.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.6. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.

CVE-2026-40453 Affected Camel coap Versions

12 component(s)
Fixed Versions:
4.14.64.18.24.20.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.camel:camel-coap
Maven
≥ 3.0.0
< 4.14.6
4.14.6
org.apache.camel:camel-coap
Maven
≥ 4.15.0
< 4.18.2
4.18.2
org.apache.camel:camel-coap
Maven
≥ 4.19.0
< 4.20.0
4.20.0
org.apache.camel:camel-google-pubsub
Maven
≥ 3.0.0
< 4.14.6
4.14.6
org.apache.camel:camel-google-pubsub
Maven
≥ 4.15.0
< 4.18.2
4.18.2
org.apache.camel:camel-google-pubsub
Maven
≥ 4.19.0
< 4.20.0
4.20.0
org.apache.camel:camel-jms
Maven
≥ 3.0.0
< 4.14.6
4.14.6
org.apache.camel:camel-jms
Maven
≥ 4.15.0
< 4.18.2
4.18.2
org.apache.camel:camel-jms
Maven
≥ 4.19.0
< 4.20.0
4.20.0
org.apache.camel:camel-sjms
Maven
≥ 3.0.0
< 4.14.6
4.14.6
org.apache.camel:camel-sjms
Maven
≥ 4.15.0
< 4.18.2
4.18.2
org.apache.camel:camel-sjms
Maven
≥ 4.19.0
< 4.20.0
4.20.0

References

Frequently Asked Questions

What is CVE-2026-40453?
CVE-2026-40453 is a security vulnerability in Camel coap involving Apache Camel has an incomplete fix for CVE-2025-27636 under CWE-178: Improper Handling of Case Sensitivity.
Which Camel coap versions are affected?
Affected versions include releases prior to 4.14.6, 4.18.2, 4.20.0 across affected packages: org.apache.camel:camel-coap, org.apache.camel:camel-google-pubsub, org.apache.camel:camel-jms, org.apache.camel:camel-sjms.
What version fixes CVE-2026-40453?
Upgrading to 4.14.6, 4.18.2, 4.20.0 (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.2, 4.20.0. Upgrade your dependency to 4.14.6, 4.18.2, 4.20.0 or later.
Is camel-google-pubsub affected?
Yes, org.apache.camel:camel-google-pubsub is affected in releases prior to 4.14.6, 4.18.2, 4.20.0. Upgrade your dependency to 4.14.6, 4.18.2, 4.20.0 or later.
What is the CVSS score of CVE-2026-40453?
CVE-2026-40453 has a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-40453?
CVE-2026-40453 is classified under CWE-178: Improper Handling of Case Sensitivity (The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.).
How can I check Maven dependencies for CVE-2026-40453?
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-jg2m-9x48-3gvj",
  "modified" : "2026-10-05T18:38:49Z",
  "published" : "2026-04-27T09:34:39Z",
  "aliases" : [ "CVE-2026-40453" ],
  "summary" : "Apache Camel has an incomplete fix for CVE-2025-27636",
  "details" : "The fix for CVE-2025-27636 added setLowerCase(true) to HttpHeaderFilterStrategy so that case-variant header names such as 'CAmelExecCommandExecutable' are filtered out alongside 'CamelExecCommandExecutable'. The same setLowerCase(true) call was not applied to five non-HTTP HeaderFilterStrategy implementations: JmsHeaderFilterStrategy and ClassicJmsHeaderFilterStrategy in camel-jms, SjmsHeaderFilterStrategy in camel-sjms, CoAPHeaderFilterStrategy in camel-coap, and GooglePubsubHeaderFilterStrategy in camel-google-pubsub. Because those strategies use case-sensitive String.startsWith('Camel'/'camel') filtering while the Camel Exchange stores headers in a case-insensitive map, an attacker with JMS (or equivalent) producer access to the broker consumed by a Camel route can inject case-variant Camel internal headers, which are then resolved by downstream components such as camel-exec and camel-file using their canonical casing. This enables remote code execution and arbitrary file write on routes that forward JMS messages to header-driven components.\n\nThis issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0.\n\nUsers are recommended to upgrade to version 4.20.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.6. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/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" : "3.0.0"
      }, {
        "fixed" : "4.14.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-coap"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.15.0"
      }, {
        "fixed" : "4.18.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-coap"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.19.0"
      }, {
        "fixed" : "4.20.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-google-pubsub"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "4.14.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-google-pubsub"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.15.0"
      }, {
        "fixed" : "4.18.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-google-pubsub"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.19.0"
      }, {
        "fixed" : "4.20.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-jms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "4.14.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-jms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.15.0"
      }, {
        "fixed" : "4.18.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-jms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.19.0"
      }, {
        "fixed" : "4.20.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-sjms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "4.14.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-sjms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.15.0"
      }, {
        "fixed" : "4.18.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-sjms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.19.0"
      }, {
        "fixed" : "4.20.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40453"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22569"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22575"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22576"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/1e331daa4eea0a3f01d951e74cda8faee79495a2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/301bb7401cd480895b94a28a8ad6cf04952d8125"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/3d2efeed2f6ea757f0254a1d1cdeb9a4f28ca147"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:17668"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:19835"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-40453"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2463173"
  }, {
    "type" : "WEB",
    "url" : "https://camel.apache.org/security/CVE-2026-40453.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/camel"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/CAMEL-23313"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-178" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-22T13:10:44Z",
    "nvd_published_at" : "2026-04-27T09:16:01Z"
  }
}