CVE-2026-33454: Apache Camel: Inbound Header Filter Missing in MailHeaderFilterStrategy Allows Remote Code Execution via MIME Header Injection (CVE-2025-30177 Variant)
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.
Security readout for executives and security teams
Plain-English summary
Apache Camel applications that read email through camel-mail may accept attacker-controlled Camel headers from incoming messages. If those headers reach sensitive downstream route components, they can change route behavior and may enable remote code execution. This is critical where monitored mailboxes accept untrusted email.
Executive priority
Treat this as urgent for any business process that ingests external email into Camel workflows. The vulnerability is critical, network reachable through email delivery, needs no user interaction, and can affect confidentiality, integrity, and availability depending on route design.
Technical view
MailHeaderFilterStrategy filters outbound headers but lacks equivalent inbound filtering. Camel-prefixed MIME headers can be mapped into the Exchange when mail is consumed through camel-mail. Routes using components that act on Camel headers may be affected. Sources list Apache Camel 3.0.0 before 4.14.6 and 4.15.0 before 4.18.1.
Likely exposure
Exposure is likely limited to Apache Camel deployments using org.apache.camel:camel-mail to consume mail from IMAP, POP3, or similar monitored mailboxes. Risk increases when routes pass inbound mail exchanges to components that act on Camel headers.
Exploitation context
The provided data does not show active exploitation, and KEV is false. Exploitation requires the ability to deliver email to a mailbox consumed by a vulnerable Camel route and a downstream route design where injected Camel headers can affect behavior.
Researcher notes
This appears to follow the same incoming-header filtering pattern as prior Camel header injection issues. The key research question is whether inbound mail headers can reach header-sensitive downstream components in a specific route. Do not assume impact without route-level validation.
Mitigation direction
Upgrade Apache Camel to 4.19.0 where possible.
For 4.18.x LTS, upgrade to 4.18.1.
For 4.14.x LTS, upgrade to 4.14.6.
Check Apache and Red Hat advisories for distribution-specific packages.
Prioritize routes consuming untrusted mail before lower-risk internal-only routes.
Validation and detection
Inventory applications using org.apache.camel:camel-mail.
Identify routes beginning with mail consumers such as IMAP or POP3.
Confirm deployed Camel versions are not in affected ranges.
Review downstream route components that act on Camel headers.
Verify applicable Apache or Red Hat fixed packages are installed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1173: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-1173 · source CWE mapping
Improper Use of Validation Framework
Improper Use of Validation Framework represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.