https://seclists.org/oss-sec/2026/q3/561: CVE-2026-59230: Apache Camel: Camel-Mail: the MimeMultipart data format copied MIME headers onto the Camel message without a header filter strategy when unmarshalling with headersInline enabled

Published Aug 24, 2026
·
Updated

Affected Software

2 affected components
Apache Camel-Mail>2.17.0<4.14.9, >4.15.0<4.18.4, >4.19.0<4.22.0
Apache Apache Camel>2.17.0<4.14.9, >4.15.0<4.18.4, >4.19.0<4.22.0

Frequently Asked Questions

1

Which deployments are affected?

Deployments using the camel-mail MimeMultipart data format are affected when unmarshalling MIME multipart messages with headersInline set to true. Affected releases are 2.17.0 before 4.14.9, 4.15.0 before 4.18.4, and 4.19.0 before 4.22.0.

2

What does an attacker need to exploit this issue?

An attacker needs to be able to influence the MIME multipart message being unmarshalled. They can supply a MIME header whose name falls within Camel's internal header namespace, causing it to be set on the Exchange.

3

Are all incoming MIME headers copied onto the Camel message?

No. Message-ID, MIME-Version, and Content-Type are generated as standard headers and are excluded from the copied incoming headers. Other MIME headers are copied without a HeaderFilterStrategy when headersInline is enabled.

4

What is the security impact of setting a Camel-internal header?

Camel components read control headers from the internal namespace to override configured behavior. An attacker-controlled MIME header in that namespace can therefore alter component behavior on the Exchange.

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