WaratekVRT Sign in

CVE-2026-40453 Apache CAmel

Affected softwareApache CAmel
Severity9.9 Critical CVSS 3.1 2 scores
Fixed in4.14.6, 4.18.2, 4.20.0
WeaknessCWE-178
Published27 Apr 2026
Updated26 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 2.1% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Reproducer for CVE-2026-40453: Apache Camel case-variant Camel header injection (incomplete fix of CVE-2025-27636) 2026-07-08

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: apache/camel #22569.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2463173 : a Red Hat bug: the triage, which links onward to the fix

CVSS

9.9 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.9 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CISA-ADP Secondary published
CVSS 3.1 9.9 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H redhat-SADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.camel:camel-coap 3.0.0 4.14.6 unbounded
org.apache.camel:camel-coap 4.15.0 4.18.2 unbounded
org.apache.camel:camel-coap 4.19.0 4.20.0 unbounded
org.apache.camel:camel-google-pubsub 3.0.0 4.14.6 unbounded
org.apache.camel:camel-google-pubsub 4.15.0 4.18.2 unbounded
org.apache.camel:camel-google-pubsub 4.19.0 4.20.0 unbounded
org.apache.camel:camel-jms 3.0.0 4.14.6 unbounded
org.apache.camel:camel-jms 4.15.0 4.18.2 unbounded
org.apache.camel:camel-jms 4.19.0 4.20.0 unbounded
org.apache.camel:camel-sjms 3.0.0 4.14.6 unbounded
org.apache.camel:camel-sjms 4.15.0 4.18.2 unbounded
org.apache.camel:camel-sjms 4.19.0 4.20.0 unbounded

Products and versions

5 products, 15 version entries
SourceVendorProductSchemeAffected versions
nvd apache camel generic ≥ 3.0.0 and < 4.14.6 · ≥ 4.15.0 and < 4.18.2 · 4.19.0
osv org.apache.camel camel-coap generic ≥ 3.0.0 and < 4.14.6 · ≥ 4.15.0 and < 4.18.2 · ≥ 4.19.0 and < 4.20.0
osv org.apache.camel camel-google-pubsub generic ≥ 3.0.0 and < 4.14.6 · ≥ 4.15.0 and < 4.18.2 · ≥ 4.19.0 and < 4.20.0
osv org.apache.camel camel-jms generic ≥ 3.0.0 and < 4.14.6 · ≥ 4.15.0 and < 4.18.2 · ≥ 4.19.0 and < 4.20.0
osv org.apache.camel camel-sjms generic ≥ 3.0.0 and < 4.14.6 · ≥ 4.15.0 and < 4.18.2 · ≥ 4.19.0 and < 4.20.0

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2463173 bugzilla
https://github.com/apache/camel/pull/22569 WEB
https://github.com/apache/camel/pull/22575 WEB
https://github.com/apache/camel/pull/22576 WEB
https://github.com/apache/camel/commit/1e331daa4eea0a3f01d951e74cda8faee79495a2 WEB
https://github.com/apache/camel/commit/301bb7401cd480895b94a28a8ad6cf04952d8125 WEB
https://github.com/apache/camel/commit/3d2efeed2f6ea757f0254a1d1cdeb9a4f28ca147 WEB
https://access.redhat.com/errata/RHSA-2026:17668 WEB
https://access.redhat.com/errata/RHSA-2026:19835 WEB
https://access.redhat.com/security/cve/CVE-2026-40453 WEB

Timeline

Published2026-04-27By the CVE Program.
NVD record modified2026-10-26NVD's own last-modified date for this record.