# CVE-2026-40453: 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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-27 · Modified: 2026-07-15
- Aliases: CGA-56fh-vc57-59hx, CGA-9pjg-3v4r-3m7j, CGA-g8hf-qvcp-m9j2, CGA-g98m-9cvj-ww7f, CGA-gc4x-29jc-fjc3, CGA-ghxc-jp5g-cpj5, GHSA-jg2m-9x48-3gvj, CGA-rpcf-cf3x-p827, CGA-w23c-p7x9-r5c3
- Record: https://cvemate.com/vulnerability/CVE-2026-40453 · JSON: https://cvemate.com/vulnerability/CVE-2026-40453/json

## Description

```text
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.
```

## Signals

- CVSS: 9.9 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 2.141%, percentile 82.662%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache camel coap: ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| ≥ 4.19.0, \< 4.20.0
- apache software foundation apache camel google pubsub: ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| ≥ 4.19.0, \< 4.20.0
- apache software foundation apache camel jms: ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| ≥ 4.19.0, \< 4.20.0
- apache camel: ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| 4.19.0
- chainguard apache-activemq-6.1 (Chainguard): \< 6.1.8-r4
- chainguard apache-activemq-6.2 (Chainguard): \< 6.2.5-r5
- chainguard apache-activemq-fips-6.1 (Chainguard): \< 6.1.8-r6
- chainguard apache-activemq-fips-6.2 (Chainguard): \< 6.2.5-r3
- org.apache.camel camel-coap (Maven): ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| ≥ 4.19.0, \< 4.20.0
- org.apache.camel camel-google-pubsub (Maven): ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| ≥ 4.19.0, \< 4.20.0
- org.apache.camel camel-jms (Maven): ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| ≥ 4.19.0, \< 4.20.0
- org.apache.camel camel-sjms (Maven): ≥ 3.0.0, \< 4.14.6 \| ≥ 4.15.0, \< 4.18.2 \| ≥ 4.19.0, \< 4.20.0

## References

- <https://camel.apache.org/security/CVE-2026-40453.html>
- <https://access.redhat.com/security/cve/CVE-2026-40453>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2463173>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40453.json>
- <https://access.redhat.com/errata/RHSA-2026:19835>
- <https://access.redhat.com/errata/RHSA-2026:17668>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40453.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40453>
- <https://github.com/apache/camel/pull/22569>
- <https://github.com/apache/camel/pull/22575>
- <https://github.com/apache/camel/pull/22576>
- <https://github.com/apache/camel/commit/1e331daa4eea0a3f01d951e74cda8faee79495a2>
- <https://github.com/apache/camel/commit/301bb7401cd480895b94a28a8ad6cf04952d8125>
- <https://github.com/apache/camel/commit/3d2efeed2f6ea757f0254a1d1cdeb9a4f28ca147>
- <https://github.com/apache/camel>
- <https://issues.apache.org/jira/browse/CAMEL-23313>

---

Data as of 2026-12-05T09:20:19.214Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
