Skip to main content

Apache Camel CVE-2026-40453

| EUVDEUVD-2026-25791 CRITICAL
Improper Handling of Case Sensitivity (CWE-178)
2026-04-27 security@apache.org GHSA-jg2m-9x48-3gvj
9.9
CVSS 3.1 · Vendor: apache
Share

Severity by source

Vendor (apache) PRIMARY
9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI
9.9 CRITICAL

Attacker needs broker producer access (PR:L), sends one crafted message remotely (AV:N/AC:L/UI:N); injection crosses into downstream components (S:C) yielding full RCE/file write (C/I/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Red Hat
9.9 CRITICAL
qualitative

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Generated
Jul 24, 2026 - 02:06 vuln.today
Patch released
Apr 28, 2026 - 19:43 nvd
Patch available
CVSS changed
Apr 27, 2026 - 16:22 NVD
9.9 (None) 9.9 (CRITICAL)
Patch available
Apr 27, 2026 - 10:01 EUVD
EUVD ID Assigned
Apr 27, 2026 - 09:22 euvd
EUVD-2026-25791
CVE Published
Apr 27, 2026 - 09:16 nvd
CRITICAL 9.9

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 19 maven packages depend on org.apache.camel:camel-coap (3 direct, 16 indirect)
  • 19 maven packages depend on org.apache.camel:camel-google-pubsub (3 direct, 16 indirect)
  • 30 maven packages depend on org.apache.camel:camel-jms (12 direct, 18 indirect)
  • 26 maven packages depend on org.apache.camel:camel-sjms (5 direct, 21 indirect)

Ecosystem-wide dependent count for version 3.0.0 and other introduced versions.

DescriptionCVE.org

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.

AnalysisAI

Remote code execution and arbitrary file write in Apache Camel affects routes using the JMS, SJMS, CoAP, or Google Pub/Sub components, where an attacker with producer access to a consumed broker can smuggle case-variant Camel internal headers (e.g. 'CAmelExecCommandExecutable') past case-sensitive filtering. The flaw is an incomplete fix for CVE-2025-27636: five non-HTTP HeaderFilterStrategy implementations were never given the setLowerCase(true) hardening, so injected headers are resolved by their canonical casing in downstream components like camel-exec and camel-file. There is no public exploit identified at time of analysis and EPSS is very low (0.06%), but CVSS is 9.9 and SSVC rates technical impact as total.

Technical ContextAI

Apache Camel is a widely used Java enterprise integration framework whose routes move Exchange objects between components (JMS, SJMS, CoAP, Google Pub/Sub, exec, file, etc.). Camel stores message headers in a case-insensitive map, while each component's HeaderFilterStrategy decides which headers cross the boundary between the wire protocol and the internal Exchange. The HTTP strategy was patched for CVE-2025-27636 by calling setLowerCase(true), normalizing header names before applying its startsWith('Camel'/'camel') filter; the JmsHeaderFilterStrategy, ClassicJmsHeaderFilterStrategy (camel-jms), SjmsHeaderFilterStrategy (camel-sjms), CoAPHeaderFilterStrategy (camel-coap), and GooglePubsubHeaderFilterStrategy (camel-google-pubsub) retained purely case-sensitive matching. This is a textbook CWE-178 (Improper Handling of Case Sensitivity): because the filter compares case-sensitively but the consumer looks up case-insensitively, 'CAmelExecCommandExecutable' evades the filter yet still resolves to the trusted 'CamelExecCommandExecutable' control header, letting an attacker override component behavior such as the executable run by camel-exec or the target path used by camel-file.

RemediationAI

Vendor-released patch: upgrade to Apache Camel 4.20.0, which fixes the issue; users on the 4.14.x LTS stream should move to 4.14.6 and users on the 4.18.x stream to 4.18.2, per https://camel.apache.org/security/CVE-2026-40453.html. Red Hat consumers should apply errata RHSA-2026:17668 and RHSA-2026:19835 (https://access.redhat.com/errata/RHSA-2026:17668). Where immediate upgrade is not possible, apply compensating controls on the affected routes: harden the HeaderFilterStrategy by explicitly enabling lower-case normalization (setLowerCase(true)) or add an explicit out-filter/removeHeaders step that strips 'Camel*'/'camel*' headers case-insensitively before messages reach camel-exec or camel-file; restrict broker producer permissions so untrusted principals cannot publish to the queues/topics these routes consume; and avoid or tightly constrain header-driven use of camel-exec (which runs OS commands) and camel-file (which writes to disk). The trade-offs: aggressive header stripping can break legitimate inter-route Camel headers, so validate route behavior after applying it, and tightening broker ACLs may disrupt existing integrations that rely on shared producer access.

More in Camel

View all
CVE-2025-27636 MEDIUM POC
5.6 Mar 09

Bypass/Injection vulnerability in Apache Camel components under particular conditions.10.0 through <= 4.10.1, from 4.8.0

CVE-2014-0002 HIGH POC
7.5 Mar 21

The XSLT component in Apache Camel before 2.11.4 and 2.12.x before 2.12.3 allows remote attackers to read arbitrary file

CVE-2016-8749 CRITICAL POC
9.8 Mar 28

Apache Camel's Jackson and JacksonXML unmarshalling operation are vulnerable to Remote Code Execution attacks. Rated cri

CVE-2014-0003 HIGH POC
7.5 Mar 21

The XSLT component in Apache Camel 2.11.x before 2.11.4, 2.12.x before 2.12.3, and possibly earlier versions allows remo

CVE-2026-23552 CRITICAL POC
9.1 Feb 23

Cross-realm token acceptance bypass in Apache Camel Keycloak security policy. The KeycloakSecurityPolicy fails to proper

CVE-2026-25747 HIGH POC
8.8 Feb 23

Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSeria

CVE-2026-40473 HIGH POC
8.8 Apr 27

Unsafe Java deserialization in the Apache Camel camel-mina component (versions 3.0.0 through 4.14.5, 4.15.0 through 4.18

CVE-2019-0194 HIGH POC
7.5 Apr 30

Apache Camel's File is vulnerable to directory traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely

CVE-2017-12634 CRITICAL
9.8 Nov 15

The camel-castor component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-se

CVE-2015-5344 CRITICAL
9.8 Feb 03

The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arb

CVE-2017-12633 CRITICAL
9.8 Nov 15

The camel-hessian component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-s

CVE-2013-4330 MEDIUM
6.8 Oct 04

Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arb

Vendor StatusVendor

Share

CVE-2026-40453 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy