Vulnerabilities in pkg:maven/org.apache.camel/camel-sjms
PACKAGECVE-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.
pkg:maven/org.apache.camel/camel-sjms
Vulnerability advisories affecting package pkg:maven/org.apache.camel/camel-sjms. 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-f755-xp6r-8q84 | CVE-2026-43866 | HIGH | Apache Camel JMS deserialization filter bypass |
| GHSA-m5vh-3fw5-5wgh | CVE-2026-40860 | CRITICAL | Apache camel-jms, camel-sjms, camel-sjms2 and camel-amqp: Unsafe Deserialization of JMS ObjectMessage |
| GHSA-8h6p-jvhf-9hcr | CVE-2026-42527 | HIGH | Apache Camel: Permissive default ObjectInputFilter pattern admits java.net.** and enables DNS-based information disclosure |
CVE-2026-40453 at a Glance
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).
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.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-coap</artifactId>
<version>4.14.6</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-coap</artifactId>
<version>4.18.2</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-coap</artifactId>
<version>4.20.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-pubsub</artifactId>
<version>4.14.6</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-pubsub</artifactId>
<version>4.18.2</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-pubsub</artifactId>
<version>4.20.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
<version>4.14.6</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
<version>4.18.2</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
<version>4.20.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-sjms</artifactId>
<version>4.14.6</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-sjms</artifactId>
<version>4.18.2</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-sjms</artifactId>
<version>4.20.0</version>
</dependency>
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
CVE-2026-40453 Affected Camel coap Versions
12 component(s)| 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?
Which Camel coap versions are affected?
What version fixes CVE-2026-40453?
Is camel-coap affected?
Is camel-google-pubsub affected?
What is the CVSS score of CVE-2026-40453?
What CWE is associated with CVE-2026-40453?
How can I check Maven dependencies for CVE-2026-40453?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}