Apache Software Foundation Apache Camel JMS
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
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 4.14.6
- >= 4.15.0, < 4.18.2
- >= 4.19.0, < 4.20.0
Fixed in 4.14.6, 4.18.2, 4.20.0
- >= 3.0.0, < 4.14.6
- >= 4.15.0, < 4.18.2
- >= 4.19.0, < 4.20.0
Fixed in 4.14.6, 4.18.2, 4.20.0
- >= 3.0.0, < 4.14.6
- >= 4.15.0, < 4.18.2
- >= 4.19.0, < 4.20.0
Fixed in 4.14.6, 4.18.2, 4.20.0
Mitigation
Upgrade Apache Camel JMS to 4.14.6 or 4.18.2 or 4.20.0 or later.
Upgrade Apache Camel CoAP to 4.14.6 or 4.18.2 or 4.20.0 or later.
Upgrade Apache Camel Google PubSub to 4.14.6 or 4.18.2 or 4.20.0 or later.
References
- Vendor advisory camel.apache.org/security/CVE-2026-40453.html
Timeline
Days relative to CVE publicationFirst public PoC 72 days after publication; not in CISA KEV. First PoC: oscerd/CVE-2026-40453 (created 8 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| oscerd/CVE-2026-40453 | 8 Jul 2026 +72 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /exploit/attack
- Ports
- 8080
- Seen in
- 1 repo: oscerd/CVE-2026-40453
- Evidence
- oscerd/CVE-2026-40453/README.md:90
GET /exploit/canonical
- Ports
- 8080
- Seen in
- 1 repo: oscerd/CVE-2026-40453
- Evidence
- oscerd/CVE-2026-40453/README.md:82
GET /exploit/normal
- Ports
- 8080
- Seen in
- 1 repo: oscerd/CVE-2026-40453
- Evidence
- oscerd/CVE-2026-40453/README.md:76
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/exploit/attack(?:[?#].*)?$
(?i)^/exploit/canonical(?:[?#].*)?$
(?i)^/exploit/normal(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-40453 Apache Software Foundation Apache Camel JMS exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/exploit/attack"; reference:url,poc.griffinguard.io/cve/CVE-2026-40453; classtype:web-application-attack; sid:9054996; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-40453 Apache Software Foundation Apache Camel JMS exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/exploit/canonical"; reference:url,poc.griffinguard.io/cve/CVE-2026-40453; classtype:web-application-attack; sid:9865802; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-40453 Apache Software Foundation Apache Camel JMS exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/exploit/normal"; reference:url,poc.griffinguard.io/cve/CVE-2026-40453; classtype:web-application-attack; sid:9016587; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache Camel JMS exploit attempt (CVE-2026-40453)
id: gg-pocmon-cve-2026-40453-9054996
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40453. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40453
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/exploit/attack'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.40453
title: Apache Software Foundation Apache Camel JMS exploit attempt (CVE-2026-40453)
id: gg-pocmon-cve-2026-40453-9865802
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40453. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40453
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/exploit/canonical'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.40453
title: Apache Software Foundation Apache Camel JMS exploit attempt (CVE-2026-40453)
id: gg-pocmon-cve-2026-40453-9016587
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40453. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40453
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/exploit/normal'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.40453