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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Camel | 3.0.0 – < 4.14.6, 4.15.0 – < 4.18.1 | 4.14.6 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
oscerd/CVE-2026-33454 ★ 1 · Jul 6, 2026
Reproducer for CVE-2026-33454: Apache Camel camel-mail header injection to RCE via camel-exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.camel:camel-mail | >= 3.0.0, < 4.14.6 | 4.14.6 | GHSA-2vqf-x7g4-7c2g |
| Maven | org.apache.camel:camel-mail | >= 4.15.0, < 4.18.1 | 4.18.1 | GHSA-2vqf-x7g4-7c2g |
Advisories 4
- WID-SEC-2026-1271 Apache Camel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 19, 2026
- WID-SEC-2026-2308 SAP Patch Day Juli 2026 BSI CERT-Bund (WID) · Jul 28, 2026
- NCSC-2026-0230 Kwetsbaarheden verholpen in SAP-producten NCSC-NL (Netherlands) · Jul 17, 2026
- NCSC-2026-0129 Kwetsbaarheden verholpen in Apache Camel NCSC-NL (Netherlands) · Apr 29, 2026
References
- https://camel.apache.org/security/CVE-2026-33454.html vendor-advisory