Improper input validation in Apache Camel
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
Improper input validation vulnerability in Apache Camel. This issue affects Apache Camel: from 2.17.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0. The camel-mail component ships a MimeMultipart data format that can unmarshal a MIME multipart message. When it is configured with headersInline set to true, the unmarshal path copies the MIME headers of the incoming message onto the Camel message: it enumerates every header that is not one of the three standard ones it generates itself - Message-ID, MIME-Version and Content-Type - and calls setHeader for each, applying no HeaderFilterStrategy. The names of those MIME headers come from the message being unmarshalled, so a sender able to influence the message could place a header whose name falls in the Camel-internal namespace and have it set on the Exchange. Camel components read control headers from that namespace to override their configured behaviour - the camel-sql producer, for instance, takes the statement to execute from a Camel header when one is present - so an injected header could redirect what a downstream step in the route does with data the route author never intended it to take from the message. Which sinks are reachable, and what the consequences are, depends entirely on what the route does after the unmarshal step. The camel-mail consumer already applied a header filter strategy on its own inbound path, so this was the parallel inbound path into the same component that the earlier hardening did not cover. The affected copy is reached only when headersInline is enabled, which is not the default: with the default setting the MIME headers are surfaced as attachments rather than as message headers, and are not affected. The behaviour dates back to the introduction of the data format in 2.17.0 and was present on every release line until this fix. Users are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.4. For deployments that cannot upgrade immediately, leave headersInline at its default of false where the inline headers are not needed, since the copy is only reached when it is enabled. Where it must stay enabled, strip Camel-internal headers immediately after the unmarshal step, for example with removeHeaders(“Camel*”) placed before any processor or producer that reads control headers, and do not unmarshal MIME content from an untrusted sender into a route that dispatches on header values. As defence in depth, treat the header names of any MIME message arriving from outside the trust boundary as untrusted input.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel | 2.17.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 | 4.14.9, 4.18.4, 4.22.0 | Patch available | CNA |
| — | org.apache.camel:camel-mail (Maven) | 2.17.0 to before 4.14.9 | 4.14.9 | Patch available | GHSA-cx47-qxp5-mmh2 |
| — | org.apache.camel:camel-mail (Maven) | 4.15.0 to before 4.18.4 | 4.18.4 | Patch available | GHSA-cx47-qxp5-mmh2 |
| — | org.apache.camel:camel-mail (Maven) | 4.19.0 to before 4.22.0 | 4.22.0 | Patch available | GHSA-cx47-qxp5-mmh2 |
- Apache Camel VendorApache Affected 2.17.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 Fixed in 4.14.9, 4.18.4, 4.22.0 Patch available CNA
- org.apache.camel:camel-mail (Maven) Vendor— Affected 2.17.0 to before 4.14.9 Fixed in 4.14.9 Patch available GHSA-cx47-qxp5-mmh2
- org.apache.camel:camel-mail (Maven) Vendor— Affected 4.15.0 to before 4.18.4 Fixed in 4.18.4 Patch available GHSA-cx47-qxp5-mmh2
- org.apache.camel:camel-mail (Maven) Vendor— Affected 4.19.0 to before 4.22.0 Fixed in 4.22.0 Patch available GHSA-cx47-qxp5-mmh2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* | 2.17.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 | Vulnerable | Apache |
- cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 2.17.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 Vulnerable ·Apache
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.14.9, 4.18.4, 4.22.0
- Fix · GHSA-cx47-qxp5-mmh2 org.apache.camel:camel-mail (Maven) Fixed in 4.14.9 Advisory →
- Fix · GHSA-cx47-qxp5-mmh2 org.apache.camel:camel-mail (Maven) Fixed in 4.18.4 Advisory →
- Fix · GHSA-cx47-qxp5-mmh2 org.apache.camel:camel-mail (Maven) Fixed in 4.22.0 Advisory →
Red Hat 1 advisory
- RHSA-2026:71675 Released 2026-09-24 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18.4 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Camel 4.14.9, 4.18.4, 4.22.0
6 records Highest priority Priority MEDIUM 4 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-54491 Improper input validation in Apache CamelPriority MEDIUM 50
- TI-2026-49962 Apache Camel: Camel-Atmosphere-Websocket: WebSocket dispatch header injectionPriority MEDIUM 50
- TI-2026-47478 Path traversal in Apache CamelPriority MEDIUM 48
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet |
| Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16 | Fixed | RHSA-2026:71675 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59230
- 2026-10-03 Alias added: GHSA-cx47-qxp5-mmh2
- 2026-11-07 EPSS moved to the below the 50th percentile
References
Advisory 3
Other 13
- https://github.com/apache/camel/pull/24406
- https://github.com/apache/camel/pull/24409
- https://github.com/apache/camel/pull/24445
- https://github.com/apache/camel/pull/24454
- https://github.com/apache/camel/pull/24456
- https://github.com/apache/camel/commit/4d03138dc27c04afdaae6cd40f026c23ed8d7973
- https://github.com/apache/camel/commit/ca74898bdef4f2917755ed8911eedfc7f09bd589
- https://github.com/apache/camel/commit/ccdeebc2ae378ba75e5563ddab508fc887527f0c
- https://github.com/apache/camel/commit/cd1333ca1c1d491b4d121878dc025b130554d367
- https://github.com/apache/camel
- https://github.com/apache/camel/releases/tag/camel-4.14.9
- https://github.com/apache/camel/releases/tag/camel-4.18.4
- https://github.com/apache/camel/releases/tag/camel-4.22.0
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59230 · CVE Program
- CVE-2026-59230 · NVD
- FIRST EPSS
- GHSA-cx47-qxp5-mmh2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-59230 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences