{"id":"CVE-2026-33454","published":"2026-04-27T09:42:39Z","modified":"2026-07-15T01:06:21Z","title":"Apache Camel: Inbound Header Filter Missing in MailHeaderFilterStrategy Allows Remote Code Execution via MIME Header…","vendor":"Apache","product":"Apache Camel","tier":"tail","description":{"text":"The Camel-Mail component is vulnerable to Camel message header injection. The custom header filter strategy used by the component (MailHeaderFilterStrategy) only filters the 'out' direction via setOutFilterStartsWith, while it does not configure the 'in' direction via setInFilterStartsWith. As a result, when a Camel application consumes mail through camel-mail (for example via from(\\\"imap://...\\\") or from(\\\"pop3://...\\\")) the inbound filter check is skipped and Camel-prefixed MIME headers are mapped unfiltered into the Exchange. An attacker who can deliver an email to a mailbox monitored by such a consumer can inject Camel-specific headers that, for some Camel components downstream of the mail consumer (such as camel-bean, camel-exec, or camel-sql), can alter the behaviour of the route. This is the same pattern that was previously addressed in camel-undertow (CVE-2025-30177) and the broader incoming-header filter (CVE-2025-27636 and CVE-2025-29891).\n\nThis issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.1.\n\nUsers are recommended to upgrade to version 4.19.0, which fixes the issue. If users are on the 4.18.x LTS releases stream, then they are suggested to upgrade to 4.18.1. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01152,"percentile":0.66732,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-1173","name":"Improper Use of Validation Framework"}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-33454.html","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33454","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463181","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33454.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19835","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":24.9,"factors":[{"name":"EPSS percentile","points":13.35},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-06","earliestUrl":"https://github.com/oscerd/CVE-2026-33454","repos":[{"name":"oscerd/CVE-2026-33454","url":"https://github.com/oscerd/CVE-2026-33454","stars":1,"created":"2026-07-06"}]},"first":{"date":"2026-07-06","source":"PoC-in-GitHub","url":"https://github.com/oscerd/CVE-2026-33454"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Camel","versions":[">= 3.0.0, < 4.14.6",">= 4.15.0, < 4.18.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-27T14:56:56.696569Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.camel:camel-mail","vulnerableRanges":[">=3.0.0, <4.14.6",">=4.15.0, <4.18.1"],"patched":["4.14.6","4.18.1"],"from":["GHSA-2vqf-x7g4-7c2g"],"provenance":"source"}],"summary":{"text":"Apache Camel's camel-mail component fails to apply its inbound header filter in MailHeaderFilterStrategy, so Camel-prefixed MIME headers from mail consumed via IMAP or POP3 are mapped unfiltered into the Exchange. An attacker who can deliver an email to a mailbox monitored by such a consumer, with no authentication or user interaction required, can inject Camel-specific headers that may alter the behaviour of downstream components like camel-bean, camel-exec, or camel-sql, affecting Apache Camel versions 3.0.0 before 4.14.6 and 4.15.0 before 4.18.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:23Z"},"euvd":{"id":"EUVD-2026-25806","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-camel-cve-2026-33453","parents":[{"from":"CVE-2026-33453","to":"CVE-2026-33454","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/coap+tcp.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/coap.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/coaps+tcp.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/coaps.json","components/camel-coap/src/generated/java/org/apache/camel/coap/CoAPComponentConfigurer.java"],"commits":["https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8","https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9","https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce","https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558"],"basis":"shared function","functions":["CoAPEndpoint","CoAPEndpointUriFactory","autowiredEnabled","basic","configure"]}]}],"children":[{"from":"CVE-2026-33454","to":"CVE-2026-46584","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-mail","fromFixed":"4.14.6","toFixed":"4.14.8","daysApart":70},{"kind":"same-code","provenance":"machine","files":["components/camel-mail/src/main/java/org/apache/camel/component/mail/MailHeaderFilterStrategy.java"],"commits":["https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce","https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558","https://github.com/apache/camel/commit/1e31abca3213cde447a2ded1adc070ffec6836f1","https://github.com/apache/camel/commit/2d2815d256068f15d42da3af27fa86fb5efad2ab"],"basis":"shared function","functions":["initialize"]}]}],"packageHistory":[{"cve":"CVE-2018-8041","published":"2018-09-17","fixed":"2.22.1","kev":false},{"cve":"CVE-2026-33454","published":"2026-04-27","fixed":"4.18.1","kev":false},{"cve":"CVE-2026-46584","published":"2026-07-06","fixed":"4.21.0","kev":false},{"cve":"CVE-2026-59230","published":"2026-08-24","fixed":"4.22.0","kev":false}],"package":"Maven:org.apache.camel:camel-mail"}}