Skip to content
VulniPulse
Advisory severityCritical9.4Apache Software Foundation

Critical [CVE-2025-27636 +3] Apache Camel: Inbound Header Filter Missing in MailHeaderFilterStrategy Allows Remote Code Execution via MIME Header Injection (CVE-2025-30177 Variant)

This critical-severity Apache Software Foundation advisory covers CVE-2026-33454 and CVE-2025-27636 and 2 more CVEs affecting Apache Camel.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations. This bulletin covers 4 CVEs; its score, affected versions and guidance may apply to different issues within that bulletin.

CVE-2026-33454 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Apache Software FoundationMessaging
Open source advisory

Android app · Google Play

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

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.

Affected versions
  • Apache Camel 3.0.0 before 4.14.6
  • Apache Camel 4.15.0 before 4.18.1

Official advisory · high-confidence parse· fetched 3 months ago·verify at source

Fixed versions
  • 4.14.6
  • 4.18.1

Official advisory · high-confidence parse· fetched 3 months ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • 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.
  • 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.

Official advisory · high-confidence parse· fetched 3 months ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.