Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.2%top 34%

CVE-2026-40453: CWE-178 Improper Handling of Case Sensitivity in Apache Software Foundation Apache Camel JMS

0
Critical
VulnerabilityCVE-2026-40453cvecve-2026-40453cwe-178
Published: 04/27/2026 (04/27/2026, 08:23:20 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Camel JMS

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.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

org.apache.camel/camel-jms
pkg:maven/org.apache.camel/camel-jms
Affected versions
=3.0.0=4.15.0=4.19.0<4.14.6<4.18

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:11:01 UTC

Technical Analysis

The vulnerability CVE-2026-40453 in Apache Camel JMS stems from inconsistent application of case-insensitive filtering in header filter strategies. While the HTTP HeaderFilterStrategy was fixed in a prior CVE by enforcing lowercase filtering, five other strategies including JmsHeaderFilterStrategy and ClassicJmsHeaderFilterStrategy did not receive this fix. Because Camel stores headers in a case-insensitive map but filters headers using case-sensitive checks, an attacker with JMS producer access can inject headers with variant casing that bypass filtering. These injected headers are then interpreted by downstream components such as camel-exec and camel-file, potentially leading to remote code execution and arbitrary file writes. The vulnerability affects Apache Camel versions 3.0.0 up to but not including 4.14.6, 4.15.0 up to but not including 4.18.2, and 4.19.0 up to but not including 4.20.0. The vendor recommends upgrading to fixed versions 4.14.6, 4.18.2, or 4.20.0 depending on the release stream. Red Hat advisories confirm the critical severity and provide updates for their builds.

Potential Impact

Successful exploitation allows an attacker with JMS producer access to inject specially crafted headers with case variants that bypass filtering controls. This can lead to remote code execution and arbitrary file writes on routes that forward JMS messages to header-driven components such as camel-exec and camel-file. The vulnerability compromises confidentiality, integrity, and availability of affected systems, rated with a CVSS 3.1 score of 9.9 (critical).

Mitigation Recommendations

A fix is available. Users should upgrade to Apache Camel version 4.20.0 or later. For users on the 4.14.x LTS stream, upgrade to 4.14.6 is recommended. For those on the 4.18.x stream, upgrade to 4.18.2 is advised. Red Hat provides updated builds addressing this vulnerability. Applying these updates will remediate the issue. No alternative mitigations or workarounds are indicated in the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-13T08:27:50.386Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-40453","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19835","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","vendor":"Red Hat"}]

Threat ID: 69ef291bba26a39fba10e17d

Added to database: 04/27/2026, 09:15:07 UTC

Last enriched: 07/15/2026, 09:11:01 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 160

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses