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

- Severity: Critical 9.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Published: 2026-04-27T09:42:39.799Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-2vqf-x7g4-7c2g
- Weaknesses: CWE-502, CWE-1173
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.camel:camel-mail: from 3.0.0 before 4.14.6; from 4.15.0 before 4.18.1
- camel-mail: no versions given
- camel-bean: no versions given
- camel-sql: no versions given
- org.apache.camel:camel-mail (Maven): from 3.0.0 before 4.14.6; from 4.15.0 before 4.18.1
- apache camel: from 3.0.0 before 4.14.6; from 4.15.0 before 4.18.1

## Every score

- CISA-ADP: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- redhat-SADP: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://camel.apache.org/security/CVE-2026-33454.html> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-33454> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2463181> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33454.json>
- <https://access.redhat.com/errata/RHSA-2026:19835> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:17668> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33454> (advisory)
- <https://github.com/apache/camel/pull/22152> (web)
- <https://github.com/apache/camel/pull/22151> (web)
- <https://github.com/apache/camel/pull/22150> (web)
- <https://github.com/apache/camel/pull/22149> (web)
- <https://github.com/apache/camel/pull/22148> (web)
- <https://github.com/apache/camel/pull/22147> (web)
- <https://github.com/apache/camel/pull/22146> (web)
- <https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce> (web)
- <https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558> (web)
- <https://github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b> (web)
- <https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9> (web)
- <https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8> (web)
- <https://github.com/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd> (web)
- <https://github.com/apache/camel> (package)
- <https://issues.apache.org/jira/browse/CAMEL-23222> (web)

## Sources

- CVE List: [CVE-2026-33454](https://www.cve.org/CVERecord?id=CVE-2026-33454), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-2vqf-x7g4-7c2g](https://github.com/advisories/GHSA-2vqf-x7g4-7c2g), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-33454](https://nvd.nist.gov/vuln/detail/CVE-2026-33454), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33454 · Whole record: https://cve.day/CVE-2026-33454.json · Rebuilt by cve.day 2026-11-25T22:59:19.648Z
