CVE-2026-46584: Apache Camel-Mail Vulnerability in Mail Producer Handling of SMTP Headers

org.apache.camel:camel-mail Updated 29 Aug 2026

Summary

06/07/2026
Yes i
Low
3.7

CVE-2026-46584: Improper Input Validation, Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Mail Component. Affects org.apache.camel:camel-mail across 3 version ranges.

>= 4.0.0, < 4.14.8 >= 4.15.0, < 4.18.3 >= 4.19.0, < 4.21.0

Fixed in 4.14.8, 4.18.3 or 4.21.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Camel is an open-source integration framework that enables developers to integrate various applications using a wide range of protocols and technologies. The Camel-Mail component specifically facilitates sending and receiving emails through SMTP and other mail protocols. It allows users to configure email settings and manage email exchanges seamlessly. However, a vulnerability has been identified in the Camel-Mail component that can lead to improper handling of attacker-supplied SMTP headers, potentially exposing sensitive information.

Vulnerability Detail

The vulnerability arises from improper input validation in the Apache Camel Mail Component, specifically within the MailProducer class. The mail producer scans outgoing messages for headers in the mail.smtp and mail.smtps namespaces. If these headers are present, they are applied as JavaMail session properties, overriding the endpoint configuration. This behavior allows untrusted input to influence the mail sending process, leading to potential redirection of SMTP connections to an attacker's server or weakening transport security. The severity of the impact varies based on the version of Apache Camel in use, with earlier versions being more susceptible to credential exposure.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.0, < 4.14.8 4.14.8
  • >= 4.15.0, < 4.18.3 4.18.3
  • >= 4.19.0, < 4.21.0 4.21.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not possible, users can implement a workaround by stripping the vulnerable header namespace before the mail producer. This can be achieved by adding the following code in the route configuration:

removeHeaders('mail.smtp.') removeHeaders('mail.smtps.')

Conclusion

In summary, CVE-2026-46584 is a significant vulnerability in the Apache Camel-Mail component that can lead to the exposure of sensitive information through improper handling of SMTP headers. Users are strongly advised to upgrade to the latest patched versions to mitigate this risk. For those unable to upgrade immediately, a workaround is available to help secure their applications.

See every vulnerability recorded for org.apache.camel:camel-mail →

Share this vulnerability

FAQ

CVE-2026-46584 is a vulnerability in the Apache Camel-Mail component that allows attacker-supplied SMTP headers to be applied as session properties, potentially leading to sensitive information exposure.

The vulnerability affects Apache Camel versions from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, and from 4.19.0 before 4.21.0.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application against this vulnerability using the Vulert playground without any signup.

If you cannot upgrade immediately, implement the workaround by stripping the vulnerable header namespace using the removeHeaders function in your route configuration.

The CVSS score for CVE-2026-46584 is 3.7, indicating a low severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.camel:camel-mail.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.0, < 4.14.8 4.14.8
  • >= 4.15.0, < 4.18.3 4.18.3
  • >= 4.19.0, < 4.21.0 4.21.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback