CVE-2026-33454

CVE-2026-33454 is a critical-severity insecure deserialization vulnerability in org.apache.camel:camel-mail (maven), affecting versions >= 3.0.0, < 4.14.6. It is fixed in 4.14.6, 4.18.1.

Summary

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.

Impact

Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect. Typical impact: arbitrary code execution or logic abuse.

CVE-2026-33454 has a CVSS score of 9.4 (Critical). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (4.14.6, 4.18.1); upgrading removes the vulnerable code path.

Affected versions

org.apache.camel:camel-mail (>= 3.0.0, < 4.14.6) org.apache.camel:camel-mail (>= 4.15.0, < 4.18.1)

Security releases

org.apache.camel:camel-mail → 4.14.6 (maven) org.apache.camel:camel-mail → 4.18.1 (maven)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Upgrade the following packages to resolve this vulnerability:

org.apache.camel:camel-mail to 4.14.6 or later; org.apache.camel:camel-mail to 4.18.1 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2026-33454? CVE-2026-33454 is a critical-severity insecure deserialization vulnerability in org.apache.camel:camel-mail (maven), affecting versions >= 3.0.0, < 4.14.6. It is fixed in 4.14.6, 4.18.1. Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect.
  2. How severe is CVE-2026-33454? CVE-2026-33454 has a CVSS score of 9.4 (Critical). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of org.apache.camel:camel-mail are affected by CVE-2026-33454? org.apache.camel:camel-mail (maven) versions >= 3.0.0, < 4.14.6 is affected.
  4. Is there a fix for CVE-2026-33454? Yes. CVE-2026-33454 is fixed in 4.14.6, 4.18.1. Upgrade to this version or later.
  5. Is CVE-2026-33454 exploitable, and should I be worried? Whether CVE-2026-33454 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2026-33454 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2026-33454?
    • Upgrade org.apache.camel:camel-mail to 4.14.6 or later
    • Upgrade org.apache.camel:camel-mail to 4.18.1 or later

Other vulnerabilities in org.apache.camel:camel-mail

CVE-2018-8041

Stop the waste.
Protect your environment with Kodem.