Security Digest · Vulnerability record

CVE-2026-40453: Apache Camel has an incomplete fix for CVE-2025-27636

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'.

CVSS 9.9 Critical EPSS 1.9% · p79

Should you act?

Critical, preconditions apply

Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
  • EPSS 1.9%, percentile 79: FIRST’s model estimates a 1.9% chance of exploitation activity in the next 30 days, higher than 79% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Only applies if your dependency tree includes org.apache.camel:camel-coap (Maven) >= 3.0.0, < 4.14.6, fixed in 4.14.6; org.apache.camel:camel-coap (Maven) >= 4.15.0, < 4.18.2, fixed in 4.18.2; org.apache.camel:camel-coap (Maven) >= 4.19.0, < 4.20.0, fixed in 4.20.0; org.apache.camel:camel-google-pubsub (Maven) >= 3.0.0, < 4.14.6, fixed in 4.14.6. Check your lockfile, including transitive dependencies.

What it is

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.

From the GitHub advisory

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.

Weakness type: CWE-178.

Product: org.apache.camel:camel-coap (Maven) · Assigned by: apache · Published: 2026-04-27

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Mavenorg.apache.camel:camel-coap>= 3.0.0, < 4.14.64.14.6
Mavenorg.apache.camel:camel-coap>= 4.15.0, < 4.18.24.18.2
Mavenorg.apache.camel:camel-coap>= 4.19.0, < 4.20.04.20.0
Mavenorg.apache.camel:camel-google-pubsub>= 3.0.0, < 4.14.64.14.6
Mavenorg.apache.camel:camel-google-pubsub>= 4.15.0, < 4.18.24.18.2
Mavenorg.apache.camel:camel-google-pubsub>= 4.19.0, < 4.20.04.20.0
Mavenorg.apache.camel:camel-jms>= 3.0.0, < 4.14.64.14.6
Mavenorg.apache.camel:camel-jms>= 4.15.0, < 4.18.24.18.2
Mavenorg.apache.camel:camel-jms>= 4.19.0, < 4.20.04.20.0
Mavenorg.apache.camel:camel-sjms>= 3.0.0, < 4.14.64.14.6
Mavenorg.apache.camel:camel-sjms>= 4.15.0, < 4.18.24.18.2
Mavenorg.apache.camel:camel-sjms>= 4.19.0, < 4.20.04.20.0
VendorProductAffected versions (per CVE record)
Apache Software FoundationApache Camel JMS3.0.0 < 4.14.6, 4.15.0 < 4.18.2, 4.19.0 < 4.20.0
Apache Software FoundationApache Camel CoAP3.0.0 < 4.14.6, 4.15.0 < 4.18.2, 4.19.0 < 4.20.0
Apache Software FoundationApache Camel Google PubSub3.0.0 < 4.14.6, 4.15.0 < 4.18.2, 4.19.0 < 4.20.0

Severity scores

Scored byCVSSScoreVector
CISA-ADP3.19.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
redhat-SADP3.19.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub3.19.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: low (any account)
  • User interaction: none
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation none, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 1.89% probability of exploitation activity in the next 30 days; percentile 79.

Timeline

  • — CVE record published by apache
  • — GitHub-reviewed advisory GHSA-jg2m-9x48-3gvj published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. camel.apache.org camel.apache.org
  2. access.redhat.com access.redhat.com
  3. access.redhat.com access.redhat.com

Vulnerability records

  1. GitHub Advisory GHSA-jg2m-9x48-3gvj github.com
  2. CVE.org record CVE-2026-40453 cve.org
  3. NVD entry CVE-2026-40453 nvd.nist.gov

Other references from the CVE record and advisory

  1. access.redhat.com access.redhat.com
  2. RHBZ#2463173 bugzilla.redhat.com
  3. security.access.redhat.com security.access.redhat.com
  4. github.com github.com
  5. github.com github.com
  6. github.com github.com
  7. github.com github.com
  8. github.com github.com
  9. github.com github.com
  10. issues.apache.org issues.apache.org

Critical Maven advisories · Today’s Security Digest