Quick answers
- Is CVE-2026-59230 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-59230 being exploited in the wild.
- How severe is CVE-2026-59230?
- Medium severity, with a CVSS score of 6.5, published 24 August 2026.
- Which products and versions are affected?
- Apache Camel 2.17.0 to 4.14.8, 4.15.0 to 4.18.3, 4.19.0 to 4.21.x; org.apache.camel:camel-mail (Maven) ECOSYSTEM:introduced=2.17.0,fixed=4.14.9.
- Is there a fix for CVE-2026-59230?
- Yes. org.apache.camel:camel-mail (Maven): upgrade to 4.14.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-59230 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-59230?
- Check whether you run Apache Camel or org.apache.camel:camel-mail (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.apache.camel:camel-mail (Maven): upgrade to 4.14.9 or later
# set org.apache.camel:camel-mail to 4.14.9 in your pom.xml or build.gradle
Technical details
The vulnerability is an improper input validation flaw (CWE-20) in the camel-mail component's MimeMultipart data format. When headersInline is set to true during unmarshal operations, the code copies all MIME headers from the incoming message onto the Camel Exchange without applying a HeaderFilterStrategy. An attacker who can influence inbound email messages can inject headers with names in the Camel-internal namespace (e.g., "Camel-*" prefix) which are read as control directives by downstream Camel producers (e.g., camel-sql reads statement overrides from headers). The attack requires network-reachable mail input and headersInline to be explicitly enabled (non-default). Exploitation impact depends entirely on the route's downstream components: potential consequences include data exfiltration, SQL injection redirection, or cross-topic message writes. Patches are available in versions 4.14.9, 4.18.4, and 4.22.0. Workarounds include keeping headersInline at its default false value or explicitly stripping Camel-prefixed headers immediately post-unmarshal.
Affected products
- Apache Camel 2.17.0 to 4.14.8, 4.15.0 to 4.18.3, 4.19.0 to 4.21.x
- Apache Camel-Mail 2.17.0 to 4.14.8, 4.15.0 to 4.18.3, 4.19.0 to 4.21.x
Identifiers
- CVE-2026-59230
- GHSA-cx47-qxp5-mmh2
Timeline
- 2026-08-24: disclosed: Vulnerability published to GitHub Advisory Database
- 2026-08-24: patched: Patches released: 4.14.9, 4.18.4, 4.22.0