CVE-2026-33454
Apache Camel's Camel-Mail component is vulnerable to Camel message header injection
Description
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).
This issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.1.
Users 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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-mail | >= 3.0.0, < 4.14.6>= 4.15.0, < 4.18.1 | 4.14.6, 4.18.1 |
Blast radius
7% of the dependent artifacts (31) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 971 |
| 2 hops | 1,920 |
| 3 hops | 494 |
| 4 hops | 542 |
| 5 hops | 662 |
| 6 hops | 24 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.camel » camel-catalog87 usages
- org.apache.camel.springboot » camel-jackson-starter37 usages
- org.apache.camel.springboot » camel-servlet-starter31 usages
- org.apache.camel.springboot » camel-http-starter29 usages
- org.l2x6.cq » cq-maven-plugin22 usages
- org.apache.camel.springboot » camel-spring-boot18 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel.springboot » camel-stream-starter16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel.springboot » camel-undertow-starter12 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-33454 | nvd.nist.gov |
| Package | apache/camel | github.com |
| Web | apache/camel pull request #22152 | github.com |
| Web | apache/camel pull request #22151 | github.com |
| Web | apache/camel pull request #22150 | github.com |
| Web | apache/camel pull request #22149 | github.com |
| Web | apache/camel pull request #22148 | github.com |
| Web | apache/camel pull request #22147 | github.com |
| Web | apache/camel pull request #22146 | github.com |
| Web | apache/camel commit e074c01 | github.com |
| Web | apache/camel commit 5c20de8 | github.com |
| Web | apache/camel commit 540d48e | github.com |
| Web | apache/camel commit 3926ab2 | github.com |
| Web | apache/camel commit 05cffa5 | github.com |
| Web | apache/camel commit 0307dd4 | github.com |
| Web | security/CVE-2026-33454.html | camel.apache.org |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | security/cve/CVE-2026-33454 | access.redhat.com |
| Web | errata/RHSA-2026:19835 | access.redhat.com |
| Web | jira/browse/CAMEL-23222 | issues.apache.org |
| Web | errata/RHSA-2026:17668 | access.redhat.com |
