CVE-2026-33454: Camel mail Apache Camel's Camel-Mail Component Is Vulnerability
CRITICALCVE-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
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).
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.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>4.14.6</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>4.18.1</version>
</dependency>
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
CVE-2026-33454 Affected Camel mail Versions
2 component(s)| 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
Frequently Asked Questions
What is CVE-2026-33454?
Which Camel mail versions are affected?
What version fixes CVE-2026-33454?
Is camel-mail affected?
What is the CVSS score of CVE-2026-33454?
What CWE is associated with CVE-2026-33454?
How can I check Maven dependencies for CVE-2026-33454?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}