Read the docs
TI-2026-34245 Aliases CVE-2026-46584GHSA-29vj-9mgp-mwp2

Improper input validation in Apache Camel Mail

Priority LOW 18CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.

Summary

Improper Input Validation, Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Mail Component. The camel-mail producer (MailProducer.getSender) scanned the outgoing Exchange for message headers in the mail.smtp. / mail.smtps. namespace and, when any were present, built a per-message JavaMail sender with those values applied as JavaMail session properties, overriding the endpoint configuration. This namespace is Camel-internal - only MailProducer interprets it - and was not blocked by any HeaderFilterStrategy, so the values could originate from any inbound protocol (for example platform-http query parameters or request headers, or JMS / Kafka messages from untrusted producers) that feeds a route ending in an smtp / smtps producer without an intervening removeHeaders. The maximal impact is version-dependent: on releases before 4.19.0, setting mail.smtp.host redirects the SMTP connection to a server under the attacker's control, and because the producer then authenticates with the endpoint's configured username and password those credentials are transmitted to the attacker; on 4.19.0 and later the producer connects to the endpoint's configured host explicitly, so the reachable impact is limited to weakening transport security (for example mail.smtp.ssl.trust, mail.smtp.starttls.enable or mail.smtp.socks.host) and interception of the outgoing message rather than host redirect. Exploitation requires a route that channels untrusted input into the mail producer without stripping the namespace. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.21.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.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. After upgrading, the per-message override is disabled by default; enable it only on trusted endpoints with useJavaMailSessionPropertiesFromHeaders=true. For deployments that cannot upgrade immediately, strip the namespace before the mail producer with removeHeaders('mail.smtp.*') and removeHeaders('mail.smtps.*') between any untrusted ingress and the smtp / smtps producer. Even with the opt-in enabled, route authors should still strip the namespace on any path that carries untrusted input.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00562 46th percentileScored 2026-11-07
Fix Partial Apache Camel Mail (Apache Software Foundation): 4.14.8, 4.18.3, rorg.apache.camel:camel-mail (Maven): 4.14.8, 4.18.3, 4.21.0Red Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Camel Mail4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before r4.14.8, 4.18.3, rPatch availableCNA
—org.apache.camel:camel-mail (Maven)4.0.0 to before 4.14.84.14.8Patch availableGHSA-29vj-9mgp-mwp2
—org.apache.camel:camel-mail (Maven)4.15.0 to before 4.18.34.18.3Patch availableGHSA-29vj-9mgp-mwp2
—org.apache.camel:camel-mail (Maven)4.19.0 to before 4.21.04.21.0Patch availableGHSA-29vj-9mgp-mwp2
  • Apache Camel Mail VendorApache Affected 4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before r Fixed in 4.14.8, 4.18.3, r Patch available CNA
  • org.apache.camel:camel-mail (Maven) Vendor— Affected 4.0.0 to before 4.14.8 Fixed in 4.14.8 Patch available GHSA-29vj-9mgp-mwp2
  • org.apache.camel:camel-mail (Maven) Vendor— Affected 4.15.0 to before 4.18.3 Fixed in 4.18.3 Patch available GHSA-29vj-9mgp-mwp2
  • org.apache.camel:camel-mail (Maven) Vendor— Affected 4.19.0 to before 4.21.0 Fixed in 4.21.0 Patch available GHSA-29vj-9mgp-mwp2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before 4.21.0VulnerableApache
  • cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before 4.21.0 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Camel Mail (Apache Software Foundation) Fixed in 4.14.8, 4.18.3, r
  • Fix · GHSA-29vj-9mgp-mwp2 org.apache.camel:camel-mail (Maven) Fixed in 4.14.8 Advisory →
  • Fix · GHSA-29vj-9mgp-mwp2 org.apache.camel:camel-mail (Maven) Fixed in 4.18.3 Advisory →
  • Fix · GHSA-29vj-9mgp-mwp2 org.apache.camel:camel-mail (Maven) Fixed in 4.21.0 Advisory →

Red Hat 2 advisories

  • RHSA-2026:54622 Released 2026-08-13 · Red Hat rating Important
    Red Hat Build of Apache Camel 4.18.3 for Spring Boot release.
    • Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16
  • RHSA-2026:48118 Released 2026-07-30 · Red Hat rating Important
    Red Hat Build of Apache Camel 4.18.3 for Quarkus 3.33 update is now available (RHBQ 3.33.2.SP3)
    • Red Hat Build of Apache Camel 3.33.2.SP3 io.netty.netty-codec-haproxy-4.1.136.Final-redhat-00001.jar, io.netty.netty-codec-http-4.1.136.Final-redhat-00001.jar, io.netty.netty-codec-http2-4.1.136.Final-redhat-00001.jar +9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat build of Apache Camel 4 for Quarkus 3AffectedNo fix yet
Red Hat Build of Apache Camel 3.33.2.SP3Fixed RHSA-2026:48118
Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16Fixed RHSA-2026:54622
Not affected: 2 products
  • Red Hat Build of Apache Camel 3.33.2.SP3
  • Red Hat JBoss Enterprise Application Platform Expansion Pack

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-46584
  2. 2026-10-03 Alias added: GHSA-29vj-9mgp-mwp2
  3. 2026-10-09 Fix available: RHSA-2026:48118 · Red Hat
  4. 2026-10-09 Fix available: Red Hat Build of Apache Camel 4.18 for Quarkus 3.33 · Red Hat
  5. 2026-10-10 Fix available: Red Hat Build of Apache Camel 3.33.2.SP3 · Red Hat

References

  • 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
See all 116 →

Sources