CVE-2026-33454: Apache Camel: Inbound Header Filter Missing in MailHeaderFilterStrategy Allows Remote Code Execution via MIME Header Injection (CVE-2025-30177 Variant)

Published Apr 26, 2026
·
Updated

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 Software

3 affected components
Apache Apache Camel>=3.0.0<4.14.6, >=4.15.0<4.18.1
Apache Camel>=3.0.0<4.14.6
Apache Camel>=4.15.0<4.18.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.14.6
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.18.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.19.0

Event History

Apr 27, 2026
CVE Published
via MITRE·09:42 AM
Data Sourced
via MITRE·09:42 AM
DescriptionWeakness
Data Sourced
via Red Hat·10:02 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33454?

The severity of CVE-2026-33454 is classified as critical due to the potential for remote code execution.

2

How do I fix CVE-2026-33454?

To fix CVE-2026-33454, upgrade your Apache Camel to a version that is not affected, such as 4.14.7 or any version higher than 4.18.1.

3

What versions of Apache Camel are affected by CVE-2026-33454?

CVE-2026-33454 affects Apache Camel versions between 3.0.0 and 4.14.6, as well as versions between 4.15.0 and 4.18.1.

4

What is the impact of CVE-2026-33454?

The impact of CVE-2026-33454 is that it allows attackers to execute arbitrary code on the server through MIME header injection.

5

Is CVE-2026-33454 related to any other vulnerabilities?

Yes, CVE-2026-33454 is a variant of CVE-2025-30177, which also involves header injection vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203