{"id":"GHSA-jg2m-9x48-3gvj","summary":"Apache Camel has an incomplete fix for CVE-2025-27636","details":"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.","aliases":["CVE-2026-40453"],"modified":"2026-07-17T21:04:37.031346718Z","published":"2026-04-27T09:34:39Z","database_specific":{"cwe_ids":["CWE-178"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-05-22T13:10:44Z","nvd_published_at":"2026-04-27T09:16:01Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40453"},{"type":"WEB","url":"https://github.com/apache/camel/pull/22569"},{"type":"WEB","url":"https://github.com/apache/camel/pull/22575"},{"type":"WEB","url":"https://github.com/apache/camel/pull/22576"},{"type":"WEB","url":"https://github.com/apache/camel/commit/1e331daa4eea0a3f01d951e74cda8faee79495a2"},{"type":"WEB","url":"https://github.com/apache/camel/commit/301bb7401cd480895b94a28a8ad6cf04952d8125"},{"type":"WEB","url":"https://github.com/apache/camel/commit/3d2efeed2f6ea757f0254a1d1cdeb9a4f28ca147"},{"type":"WEB","url":"https://camel.apache.org/security/CVE-2026-40453.html"},{"type":"PACKAGE","url":"https://github.com/apache/camel"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/CAMEL-23313"}],"affected":[{"package":{"name":"org.apache.camel:camel-coap","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-coap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"4.14.6"}]}],"versions":["3.0.0","3.0.1","3.1.0","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.11.4","3.11.5","3.11.6","3.11.7","3.12.0","3.13.0","3.14.0","3.14.1","3.14.10","3.14.2","3.14.3","3.14.4","3.14.5","3.14.6","3.14.7","3.14.8","3.14.9","3.15.0","3.16.0","3.17.0","3.18.0","3.18.1","3.18.2","3.18.3","3.18.4","3.18.5","3.18.6","3.18.7","3.18.8","3.19.0","3.2.0","3.20.0","3.20.1","3.20.2","3.20.3","3.20.4","3.20.5","3.20.6","3.20.7","3.20.8","3.20.9","3.21.0","3.21.1","3.21.2","3.21.3","3.21.4","3.21.5","3.22.0","3.22.1","3.22.2","3.22.3","3.22.4","3.3.0","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.5.0","3.6.0","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.7.5","3.7.6","3.7.7","3.8.0","3.9.0","4.0.0","4.0.0-M1","4.0.0-M2","4.0.0-M3","4.0.0-RC1","4.0.0-RC2","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.1.0","4.10.0","4.10.1","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.10.9","4.11.0","4.12.0","4.13.0","4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.2.0","4.3.0","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.6.0","4.7.0","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.8.8","4.8.9","4.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-coap","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-coap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.18.2"}]}],"versions":["4.15.0","4.16.0","4.17.0","4.18.0","4.18.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-coap","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-coap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.20.0"}]}],"versions":["4.19.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-google-pubsub","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-google-pubsub"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"4.14.6"}]}],"versions":["3.0.0","3.0.1","3.1.0","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.11.4","3.11.5","3.11.6","3.11.7","3.12.0","3.13.0","3.14.0","3.14.1","3.14.10","3.14.2","3.14.3","3.14.4","3.14.5","3.14.6","3.14.7","3.14.8","3.14.9","3.15.0","3.16.0","3.17.0","3.18.0","3.18.1","3.18.2","3.18.3","3.18.4","3.18.5","3.18.6","3.18.7","3.18.8","3.19.0","3.2.0","3.20.0","3.20.1","3.20.2","3.20.3","3.20.4","3.20.5","3.20.6","3.20.7","3.20.8","3.20.9","3.21.0","3.21.1","3.21.2","3.21.3","3.21.4","3.21.5","3.22.0","3.22.1","3.22.2","3.22.3","3.22.4","3.3.0","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.5.0","3.6.0","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.7.5","3.7.6","3.7.7","3.8.0","3.9.0","4.0.0","4.0.0-M1","4.0.0-M2","4.0.0-M3","4.0.0-RC1","4.0.0-RC2","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.1.0","4.10.0","4.10.1","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.10.9","4.11.0","4.12.0","4.13.0","4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.2.0","4.3.0","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.6.0","4.7.0","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.8.8","4.8.9","4.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-google-pubsub","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-google-pubsub"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.18.2"}]}],"versions":["4.15.0","4.16.0","4.17.0","4.18.0","4.18.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-google-pubsub","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-google-pubsub"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.20.0"}]}],"versions":["4.19.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-jms","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-jms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"4.14.6"}]}],"versions":["3.0.0","3.0.1","3.1.0","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.11.4","3.11.5","3.11.6","3.11.7","3.12.0","3.13.0","3.14.0","3.14.1","3.14.10","3.14.2","3.14.3","3.14.4","3.14.5","3.14.6","3.14.7","3.14.8","3.14.9","3.15.0","3.16.0","3.17.0","3.18.0","3.18.1","3.18.2","3.18.3","3.18.4","3.18.5","3.18.6","3.18.7","3.18.8","3.19.0","3.2.0","3.20.0","3.20.1","3.20.2","3.20.3","3.20.4","3.20.5","3.20.6","3.20.7","3.20.8","3.20.9","3.21.0","3.21.1","3.21.2","3.21.3","3.21.4","3.21.5","3.22.0","3.22.1","3.22.2","3.22.3","3.22.4","3.3.0","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.5.0","3.6.0","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.7.5","3.7.6","3.7.7","3.8.0","3.9.0","4.0.0","4.0.0-M1","4.0.0-M2","4.0.0-M3","4.0.0-RC1","4.0.0-RC2","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.1.0","4.10.0","4.10.1","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.10.9","4.11.0","4.12.0","4.13.0","4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.2.0","4.3.0","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.6.0","4.7.0","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.8.8","4.8.9","4.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-jms","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-jms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.18.2"}]}],"versions":["4.15.0","4.16.0","4.17.0","4.18.0","4.18.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-jms","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-jms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.20.0"}]}],"versions":["4.19.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-sjms","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-sjms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"4.14.6"}]}],"versions":["3.0.0","3.0.1","3.1.0","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.11.4","3.11.5","3.11.6","3.11.7","3.12.0","3.13.0","3.14.0","3.14.1","3.14.10","3.14.2","3.14.3","3.14.4","3.14.5","3.14.6","3.14.7","3.14.8","3.14.9","3.15.0","3.16.0","3.17.0","3.18.0","3.18.1","3.18.2","3.18.3","3.18.4","3.18.5","3.18.6","3.18.7","3.18.8","3.19.0","3.2.0","3.20.0","3.20.1","3.20.2","3.20.3","3.20.4","3.20.5","3.20.6","3.20.7","3.20.8","3.20.9","3.21.0","3.21.1","3.21.2","3.21.3","3.21.4","3.21.5","3.22.0","3.22.1","3.22.2","3.22.3","3.22.4","3.3.0","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.5.0","3.6.0","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.7.5","3.7.6","3.7.7","3.8.0","3.9.0","4.0.0","4.0.0-M1","4.0.0-M2","4.0.0-M3","4.0.0-RC1","4.0.0-RC2","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.1.0","4.10.0","4.10.1","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.10.9","4.11.0","4.12.0","4.13.0","4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.2.0","4.3.0","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.6.0","4.7.0","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.8.8","4.8.9","4.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-sjms","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-sjms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.18.2"}]}],"versions":["4.15.0","4.16.0","4.17.0","4.18.0","4.18.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}},{"package":{"name":"org.apache.camel:camel-sjms","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-sjms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.20.0"}]}],"versions":["4.19.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}