CVE-2026-33454: Camel mail Apache Camel's Camel-Mail Component Is Vulnerability

CRITICAL
Advisory Identifier: GHSA-2vqf-x7g4-7c2g
CVSS 9.4
CWE-1173 CWE-502
Published
Advisory Summary

CVE-2026-33454 is a CRITICAL (CVSS 9.4) apache camel's camel-mail component is vulnerability (CWE-1173: Improper Use of Validation Framework) affecting Camel mail libraries in the Maven ecosystem. The issue involves apache camel's camel-mail component is vulnerable to camel message header injection. Remediation is available by upgrading affected packages to version 4.14.6, 4.18.1.

CVE-2026-33454 at a Glance

CVE Identifier CVE-2026-33454
GHSA Identifier GHSA-2vqf-x7g4-7c2g
Severity CRITICAL
CVSS v3.1 Base Score 9.4
CWE Classification CWE-1173: Improper Use of Validation Framework
Affected Product Camel mail
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2026-33454

To remediate this vulnerability, upgrade all affected Camel mail dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.camel:camel-mail fixed: 4.14.6
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-mail</artifactId>
    <version>4.14.6</version>
</dependency>
org.apache.camel:camel-mail fixed: 4.18.1
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-mail</artifactId>
    <version>4.18.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.camel

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-33454, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.camel

Analyze the terminal output to locate any version of Camel mail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.14.6), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.camel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1173: Improper Use of Validation Framework, where the product does not use, or incorrectly uses, an input validation framework that is provided by the source language or an independent library. In Camel mail, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-33454 Affected Camel mail Versions

2 component(s)
Fixed Versions:
4.14.64.18.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.camel:camel-mail
Maven
≥ 3.0.0
< 4.14.6
4.14.6
org.apache.camel:camel-mail
Maven
≥ 4.15.0
< 4.18.1
4.18.1

References

NVD — CVE-2026-33454 NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-33454
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel/pull/22152
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel/pull/22151
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel/pull/22150
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel/pull/22149
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel/pull/22148
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel/pull/22147
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel/pull/22146
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd
Camel mail Source Repository REPOSITORY
https://github.com/apache/camel
Camel mail Security Information SECURITY
https://camel.apache.org/security/CVE-2026-33454.html
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2463181
Camel mail Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2026-33454
access.redhat.com/errata/rhsa-2026:19... WEB
https://access.redhat.com/errata/RHSA-2026:19835
issues.apache.org/jira/browse/camel-2... WEB
https://issues.apache.org/jira/browse/CAMEL-23222
access.redhat.com/errata/rhsa-2026:17... WEB
https://access.redhat.com/errata/RHSA-2026:17668

Frequently Asked Questions

What is CVE-2026-33454?
CVE-2026-33454 is a security vulnerability in Camel mail involving Apache Camel's Camel-Mail component is vulnerable to Camel message header injection under CWE-1173: Improper Use of Validation Framework.
Which Camel mail versions are affected?
Affected versions include releases prior to 4.14.6, 4.18.1 across affected packages: org.apache.camel:camel-mail.
What version fixes CVE-2026-33454?
Upgrading to 4.14.6, 4.18.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is camel-mail affected?
Yes, org.apache.camel:camel-mail is affected in releases prior to 4.14.6, 4.18.1. Upgrade your dependency to 4.14.6, 4.18.1 or later.
What is the CVSS score of CVE-2026-33454?
CVE-2026-33454 has a CVSS v3.1 base score of 9.4 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2026-33454?
CVE-2026-33454 is classified under CWE-1173: Improper Use of Validation Framework (The product does not use, or incorrectly uses, an input validation framework that is provided by the source language or an independent library.).
How can I check Maven dependencies for CVE-2026-33454?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.camel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2vqf-x7g4-7c2g",
  "modified" : "2026-10-05T18:39:05Z",
  "published" : "2026-04-27T12:30:38Z",
  "aliases" : [ "CVE-2026-33454" ],
  "summary" : "Apache Camel's Camel-Mail component is vulnerable to Camel message header injection",
  "details" : "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).\n\nThis issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.1.\n\nUsers 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-mail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "4.14.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-mail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.15.0"
      }, {
        "fixed" : "4.18.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33454"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22152"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22151"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22150"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22149"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22148"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22147"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/pull/22146"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/camel"
  }, {
    "type" : "WEB",
    "url" : "https://camel.apache.org/security/CVE-2026-33454.html"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2463181"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-33454"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:19835"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/CAMEL-23222"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:17668"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1173", "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-05T21:43:26Z",
    "nvd_published_at" : "2026-04-27T10:16:07Z"
  }
}