CVE-2026-33454
The Camel-Mail component is vulnerable to Camel message header …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- camel.apache.org/security/CVE-2026-33454.html
- nvd.nist.gov/vuln/detail/CVE-2026-33454
- github.com/apache/camel/pull/22146
- github.com/apache/camel/pull/22147
- github.com/apache/camel/pull/22148
- github.com/apache/camel/pull/22149
- github.com/apache/camel/pull/22150
- github.com/apache/camel/pull/22151
- nvd.nist.gov/vuln/detail/CVE-2026-33454
- cve.org/CVERecord?id=CVE-2026-33454
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.