CVE-2026-33454: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel
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.
AI Analysis
Technical Summary
The vulnerability in Apache Camel's Camel-Mail component arises because the custom header filter strategy only filters outbound headers but does not filter inbound headers. Consequently, when consuming mail via protocols like IMAP or POP3, inbound Camel-prefixed MIME headers are mapped into the Exchange without filtering. An attacker capable of delivering email to a mailbox monitored by such a consumer can inject Camel-specific headers. These injected headers can influence the behavior of downstream Camel components such as camel-bean, camel-exec, or camel-sql, potentially altering route execution. This issue is related to previously addressed header injection vulnerabilities in other Camel components. The vulnerability affects Apache Camel versions from 3.0.0 before 4.14.6 and from 4.15.0 before 4.18.1. The vendor recommends upgrading to 4.19.0 or the latest patch releases in the affected LTS streams.
Potential Impact
An attacker who can send email to a mailbox consumed by Apache Camel's vulnerable Camel-Mail component can inject malicious Camel-specific headers. This can lead to altered application behavior in downstream components, potentially causing unauthorized actions or logic manipulation within the affected Camel routes. The CVSS score of 9.4 indicates a critical impact with high confidentiality and integrity impact and low attack complexity, requiring no privileges or user interaction.
Mitigation Recommendations
Upgrades are available to remediate this vulnerability. Users should upgrade to Apache Camel version 4.19.0, or if using the 4.18.x LTS stream, upgrade to 4.18.1, and if using the 4.14.x LTS stream, upgrade to 4.14.6. These versions include fixes for the header injection issue. No alternative mitigations or temporary workarounds are indicated in the vendor advisory. Patch status is confirmed by vendor advisories from Red Hat.
CVE-2026-33454: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel
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.
CVSS v3.1
Score 9.4critical
Affected software
pkg:maven/org.apache.camel/camel-mailRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache Camel's Camel-Mail component arises because the custom header filter strategy only filters outbound headers but does not filter inbound headers. Consequently, when consuming mail via protocols like IMAP or POP3, inbound Camel-prefixed MIME headers are mapped into the Exchange without filtering. An attacker capable of delivering email to a mailbox monitored by such a consumer can inject Camel-specific headers. These injected headers can influence the behavior of downstream Camel components such as camel-bean, camel-exec, or camel-sql, potentially altering route execution. This issue is related to previously addressed header injection vulnerabilities in other Camel components. The vulnerability affects Apache Camel versions from 3.0.0 before 4.14.6 and from 4.15.0 before 4.18.1. The vendor recommends upgrading to 4.19.0 or the latest patch releases in the affected LTS streams.
Potential Impact
An attacker who can send email to a mailbox consumed by Apache Camel's vulnerable Camel-Mail component can inject malicious Camel-specific headers. This can lead to altered application behavior in downstream components, potentially causing unauthorized actions or logic manipulation within the affected Camel routes. The CVSS score of 9.4 indicates a critical impact with high confidentiality and integrity impact and low attack complexity, requiring no privileges or user interaction.
Mitigation Recommendations
Upgrades are available to remediate this vulnerability. Users should upgrade to Apache Camel version 4.19.0, or if using the 4.18.x LTS stream, upgrade to 4.18.1, and if using the 4.14.x LTS stream, upgrade to 4.14.6. These versions include fixes for the header injection issue. No alternative mitigations or temporary workarounds are indicated in the vendor advisory. Patch status is confirmed by vendor advisories from Red Hat.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-03-20T09:46:41.656Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-33454","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19835","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","vendor":"Red Hat"}]
Threat ID: 69ef33a6ba26a39fba154125
Added to database: 04/27/2026, 10:00:06 UTC
Last enriched: 07/15/2026, 09:00:06 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 159
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.