{"cve":"CVE-2026-40453","nvd":{"published":"2026-04-27T09:16:01.493","modified":"2026-10-26T22:10:00.163","status":"Modified","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.\n\nThis 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.\n\nUsers 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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9},"cwes":["CWE-178"],"references":["https://camel.apache.org/security/CVE-2026-40453.html","https://access.redhat.com/errata/RHSA-2026:17668","https://access.redhat.com/errata/RHSA-2026:19835","https://access.redhat.com/security/cve/CVE-2026-40453","https://bugzilla.redhat.com/show_bug.cgi?id=2463173"],"products":["apache:camel"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-40453","score":0.02104,"percentile":0.81609,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-jg2m-9x48-3gvj","url":"https://osv.dev/vulnerability/GHSA-jg2m-9x48-3gvj","summary":"Apache Camel has an incomplete fix for CVE-2025-27636","modified":"2026-10-05T18:45:06.462752945Z","packages":[{"ecosystem":"Maven","name":"org.apache.camel:camel-coap","purl":"pkg:maven/org.apache.camel/camel-coap","ranges":[">=3.0.0 <4.14.6"],"fixed":["4.14.6"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-coap","purl":"pkg:maven/org.apache.camel/camel-coap","ranges":[">=4.15.0 <4.18.2"],"fixed":["4.18.2"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-coap","purl":"pkg:maven/org.apache.camel/camel-coap","ranges":[">=4.19.0 <4.20.0"],"fixed":["4.20.0"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-google-pubsub","purl":"pkg:maven/org.apache.camel/camel-google-pubsub","ranges":[">=3.0.0 <4.14.6"],"fixed":["4.14.6"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-google-pubsub","purl":"pkg:maven/org.apache.camel/camel-google-pubsub","ranges":[">=4.15.0 <4.18.2"],"fixed":["4.18.2"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-google-pubsub","purl":"pkg:maven/org.apache.camel/camel-google-pubsub","ranges":[">=4.19.0 <4.20.0"],"fixed":["4.20.0"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-jms","purl":"pkg:maven/org.apache.camel/camel-jms","ranges":[">=3.0.0 <4.14.6"],"fixed":["4.14.6"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-jms","purl":"pkg:maven/org.apache.camel/camel-jms","ranges":[">=4.15.0 <4.18.2"],"fixed":["4.18.2"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-jms","purl":"pkg:maven/org.apache.camel/camel-jms","ranges":[">=4.19.0 <4.20.0"],"fixed":["4.20.0"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-sjms","purl":"pkg:maven/org.apache.camel/camel-sjms","ranges":[">=3.0.0 <4.14.6"],"fixed":["4.14.6"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-sjms","purl":"pkg:maven/org.apache.camel/camel-sjms","ranges":[">=4.15.0 <4.18.2"],"fixed":["4.18.2"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-sjms","purl":"pkg:maven/org.apache.camel/camel-sjms","ranges":[">=4.19.0 <4.20.0"],"fixed":["4.20.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}