CVE-2026-33454
JSON

9.4critical

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

Severity
9.4critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.52% (higher than 75% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-2vqf-x7g4-7c2g

Description

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

Product or packageVersionsReported by
org.apache.camel:camel-mailfrom 3.0.0 before 4.14.6, from 4.15.0 before 4.18.1CVE List
camel-mailNot specifiedCVE List
camel-beanNot specifiedCVE List
camel-sqlNot specifiedCVE List
org.apache.camel:camel-mail (Maven)from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.1GitHub Advisory Database
apache camelfrom 3.0.0 before 4.14.6, from 4.15.0 before 4.18.1NVD

All scores

CISA-ADP9.4critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
redhat-SADP9.4critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
GitHub9.4critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Classification

CWE-502CWE-1173

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El componente Camel-Mail es vulnerable a la inyección de encabezados de mensajes de Camel. La estrategia de filtro de encabezados personalizada utilizada por el componente (MailHeaderFilterStrategy) solo filtra la dirección ’out’ a través de setOutFilterStartsWith, mientras que no configura la dirección ’in’ a través de setInFilterStartsWith. Como resultado, cuando una aplicación Camel consume correo a través de camel-mail (por ejemplo, a través de from(’imap://...’) o from(’pop3://...’)) se omite la verificación del filtro de entrada y los encabezados MIME con prefijo Camel se mapean sin filtrar en el Exchange. Un atacante que puede entregar un correo electrónico a un buzón monitoreado por dicho consumidor puede inyectar encabezados específicos de Camel que, para algunos componentes Camel posteriores al consumidor de correo (como camel-bean, camel-exec o camel-sql), pueden alterar el comportamiento de la ruta. Este es el mismo patrón que se abordó previamente en camel-undertow (CVE-2025-30177) y el filtro de encabezado de entrada más amplio (CVE-2025-27636 y CVE-2025-29891). Este problema afecta a Apache Camel: desde 3.0.0 antes de 4.14.6, desde 4.15.0 antes de 4.18.1. Se recomienda a los usuarios actualizar a la versión 4.19.0, que corrige el problema. Si los usuarios están en la rama de versiones LTS 4.18.x, se les sugiere actualizar a 4.18.1. Si los usuarios están en la rama de versiones LTS 4.14.x, se les sugiere actualizar a 4.14.6.

References

https://camel.apache.org/security/CVE-2026-33454.htmlvendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-33454vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2463181issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33454.json
https://access.redhat.com/errata/RHSA-2026:19835vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:17668vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-33454advisory
https://github.com/apache/camel/pull/22152web
https://github.com/apache/camel/pull/22151web
https://github.com/apache/camel/pull/22150web
https://github.com/apache/camel/pull/22149web
https://github.com/apache/camel/pull/22148web

Sources

SourceRecordLicence
CVE ListCVE-2026-33454 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-2vqf-x7g4-7c2g changed 2026-10-05CC-BY-4.0
NVDCVE-2026-33454 changed 2026-10-26Public domain