CVE-2026-40473: Camel mina Camel-MINA Vulnerable To Deserialization Of Vulnerability
HIGHCVE-2026-40473 is a HIGH (CVSS 8.8) camel-mina vulnerable to deserialization of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Camel mina libraries in the Maven ecosystem. The issue involves camel-mina vulnerable to deserialization of untrusted data. Remediation is available by upgrading affected packages to version 4.14.6, 4.18.2, 4.20.0.
CVE-2026-40473 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-40473
To remediate this vulnerability, upgrade all affected Camel mina 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-mina</artifactId>
<version>4.14.6</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mina</artifactId>
<version>4.18.2</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mina</artifactId>
<version>4.20.0</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-40473, 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 mina 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Camel mina, 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-40473 Affected Camel mina Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-mina
|
Maven |
≥ 3.0.0
< 4.14.6
|
4.14.6
|
|
org.apache.camel:camel-mina
|
Maven |
≥ 4.15.0
< 4.18.2
|
4.18.2
|
|
org.apache.camel:camel-mina
|
Maven |
≥ 4.19.0
< 4.20.0
|
4.20.0
|
References
Frequently Asked Questions
What is CVE-2026-40473?
Which Camel mina versions are affected?
What version fixes CVE-2026-40473?
Is camel-mina affected?
What is the CVSS score of CVE-2026-40473?
What CWE is associated with CVE-2026-40473?
How can I check Maven dependencies for CVE-2026-40473?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vpr3-2659-rw55",
"modified" : "2026-05-05T21:19:01Z",
"published" : "2026-04-27T09:34:39Z",
"aliases" : [ "CVE-2026-40473" ],
"summary" : "Camel-MINA Vulnerable to Deserialization of Untrusted Data",
"details" : "The camel-mina component's MinaConverter.toObjectInput(IoBuffer) type converter wraps an IoBuffer in a java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. When a Camel route uses camel-mina as a TCP or UDP consumer and requests conversion to ObjectInput (for example via getBody(ObjectInput.class) or @Body ObjectInput), an attacker sending a crafted serialized Java object over the network to the MINA consumer port can trigger arbitrary code execution in the context of the application during readObject().\n\nThis issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0.\n\nUsers are recommended to upgrade to version 4.20.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.6. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-mina"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "4.14.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-mina"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.15.0"
}, {
"fixed" : "4.18.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-mina"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.19.0"
}, {
"fixed" : "4.20.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40473"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/22583"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/22584"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/22585"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/8e7f6335d2b4b096df26f8221723405ceaee275a"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/b605816d11c253d22989abc290c198be83e3f817"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/c35b0a3720f8c80025b06112d5d9c2932426d7f0"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2026-40473.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-23319"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/04/26/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-05T21:19:01Z",
"nvd_published_at" : "2026-04-27T09:16:01Z"
}
}