Apache Software Foundation Apache Camel
Apache Camel: Inbound Header Filter Missing in MailHeaderFilterStrategy Allows Remote Code Execution via MIME Header Injection (CVE-2025-30177 Variant)
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 4.14.6
- >= 4.15.0, < 4.18.1
Fixed in 4.14.6, 4.18.1
Mitigation
Upgrade Apache Camel to 4.14.6 or 4.18.1 or later.
References
- Vendor advisory camel.apache.org/security/CVE-2026-33454.html
Timeline
Days relative to CVE publicationFirst public PoC 70 days after publication; not in CISA KEV. First PoC: oscerd/CVE-2026-33454 (created 6 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| oscerd/CVE-2026-33454 | 6 Jul 2026 +70 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /exploit/attack
- Query
exe=/usr/bin/touchargs=/tmp/owned-by-mail- Ports
- 8080
- Seen in
- 1 repo: oscerd/CVE-2026-33454
- Evidence
- oscerd/CVE-2026-33454/README.md:106 oscerd/CVE-2026-33454/README.md:109
GET /exploit/normal
- Ports
- 8080
- Seen in
- 1 repo: oscerd/CVE-2026-33454
- Evidence
- oscerd/CVE-2026-33454/README.md:97
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/exploit/attack\?(?:.*&)?exe=/usr/bin/touch.*args=/tmp/owned-by-mail
(?i)^/exploit/normal(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-33454 Apache Software Foundation Apache Camel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/exploit/attack"; http.uri; content:"exe=/usr/bin/touch"; http.uri; content:"args=/tmp/owned-by-mail"; reference:url,poc.griffinguard.io/cve/CVE-2026-33454; classtype:web-application-attack; sid:9866791; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-33454 Apache Software Foundation Apache Camel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/exploit/normal"; reference:url,poc.griffinguard.io/cve/CVE-2026-33454; classtype:web-application-attack; sid:9041208; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache Camel exploit attempt (CVE-2026-33454)
id: gg-pocmon-cve-2026-33454-9866791
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33454. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33454
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/exploit/attack'
cs-uri-query|contains|all:
- 'exe=/usr/bin/touch'
- 'args=/tmp/owned-by-mail'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33454
title: Apache Software Foundation Apache Camel exploit attempt (CVE-2026-33454)
id: gg-pocmon-cve-2026-33454-9041208
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33454. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33454
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/exploit/normal'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33454