Skip to content
Fencer Vulns
critical 9.9

CVE-2026-40453 in the critical feed json

Apache Camel JMS, Apache Camel CoAP, Apache Camel Google PubSub: Incomplete fix for CVE-2025-27636 in non-HTTP HeaderFilterStrategies (camel-jms, camel-sjms, camel-coap, camel-google-pubsub) allows case-variant header injection

published 2026-04-27 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-25791 , GHSA-jg2m-9x48-3gvj

cvss
9.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.camel:camel-coap 4.14.6, 4.18.2, 4.20.0
  • maven org.apache.camel:camel-google-pubsub 4.14.6, 4.18.2, 4.20.0
  • maven org.apache.camel:camel-jms 4.14.6, 4.18.2, 4.20.0
  • maven org.apache.camel:camel-sjms 4.14.6, 4.18.2, 4.20.0
  • Apache Software Foundation Apache Camel JMS 4.14.6, 4.18.2, 4.20.0
  • Apache Software Foundation Apache Camel CoAP 4.14.6, 4.18.2, 4.20.0
  • Apache Software Foundation Apache Camel Google PubSub 4.14.6, 4.18.2, 4.20.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40453 updated cvss 9.9

Apache Camel: org.apache.camel: Apache Camel: Remote Code Execution and Arbitrary File Write via case-variant header injection

  • Red Hat build of Apache Camel 4 for Quarkus 3 camel-jms, camel-google-pubsub
    affected: workaround, no fix available “This flaw may be mitigated by temporarily disabling routes that allows arbitrary writes and executions (camel-exec and camel-file)”
  • Red Hat OpenShift Serverless openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9, +2 more
    under investigation
  • Red Hat Build of Apache Camel 4.14 for Quarkus 3.27
    fixed: vendor fix “This flaw may be mitigated by temporarily disabling routes that allows arbitrary writes and executions (camel-exec and camel-file)” RHSA-2026:19835
  • Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
    fixed: vendor fix “This flaw may be mitigated by temporarily disabling routes that allows arbitrary writes and executions (camel-exec and camel-file)” RHSA-2026:17668
  • Red Hat build of Apache Camel 4 for Quarkus 3 camel-http, camel-http-base, camel-http-common Red Hat Fuse 7 camel-jms, camel-http, camel-http4, camel-http-base, camel-http-common, camel-http-starter, +3 more Red Hat JBoss Enterprise Application Platform 8 camel-jms, camel-http, camel-http-base, camel-http-common, camel-google-pubsub Red Hat JBoss Enterprise Application Platform Expansion Pack camel-jms, camel-http, camel-http-base, camel-http-common, camel-google-pubsub
    not affected: vulnerable code not present
  • Red Hat Process Automation 7 camel-http-common Red Hat Single Sign-On 7 camel-http-common
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
6 mo ago

Exploit prediction

2.10% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CNA 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.camel:camel-coap
>=3.0.0, <4.14.6
>=4.15.0, <4.18.2
>=4.19.0, <4.20.0
4.14.6
4.18.2
4.20.0
maven org.apache.camel:camel-google-pubsub
>=3.0.0, <4.14.6
>=4.15.0, <4.18.2
>=4.19.0, <4.20.0
4.14.6
4.18.2
4.20.0
maven org.apache.camel:camel-jms
>=3.0.0, <4.14.6
>=4.15.0, <4.18.2
>=4.19.0, <4.20.0
4.14.6
4.18.2
4.20.0
maven org.apache.camel:camel-sjms
>=3.0.0, <4.14.6
>=4.15.0, <4.18.2
>=4.19.0, <4.20.0
4.14.6
4.18.2
4.20.0

Affected products

  • Apache Software Foundation Apache Camel JMS
  • Apache Software Foundation Apache Camel CoAP
  • Apache Software Foundation Apache Camel Google PubSub
  • Red Hat Red Hat Build of Apache Camel 4.14 for Quarkus 3.27
  • Red Hat Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
  • Red Hat OpenShift Serverless
  • Red Hat Red Hat build of Apache Camel 4 for Quarkus 3
  • Red Hat Red Hat Fuse 7
  • Red Hat Red Hat JBoss Enterprise Application Platform 8
  • Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat Red Hat Process Automation 7
  • Red Hat Red Hat Single Sign-On 7

Classification

Weakness
  • CWE-178 Improper Handling of Case Sensitivity
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.