CVE-2026-40473
Camel-MINA Vulnerable to Deserialization of Untrusted Data
Description
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().
This 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.
Users 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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-mina | >= 3.0.0, < 4.14.6>= 4.15.0, < 4.18.2>= 4.19.0, < 4.20.0 | 4.14.6, 4.18.2, 4.20.0 |
Blast radius
2% of the dependent artifacts (10) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 407 |
| 2 hops | 1,246 |
| 3 hops | 357 |
| 4 hops | 470 |
| 5 hops | 586 |
| 6 hops | 5 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.camel » camel-catalog87 usages
- org.apache.camel.springboot » camel-jackson-starter37 usages
- org.apache.camel.springboot » camel-servlet-starter31 usages
- org.apache.camel.springboot » camel-http-starter29 usages
- org.l2x6.cq » cq-maven-plugin22 usages
- org.apache.camel.springboot » camel-spring-boot18 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel.springboot » camel-stream-starter16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel.springboot » camel-undertow-starter12 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-40473 | nvd.nist.gov |
| Package | apache/camel | github.com |
| Web | apache/camel pull request #22583 | github.com |
| Web | apache/camel pull request #22584 | github.com |
| Web | apache/camel pull request #22585 | github.com |
| Web | apache/camel commit 8e7f633 | github.com |
| Web | apache/camel commit b605816 | github.com |
| Web | apache/camel commit c35b0a3 | github.com |
| Web | security/CVE-2026-40473.html | camel.apache.org |
| Web | jira/browse/CAMEL-23319 | issues.apache.org |
| Web | lists/oss-security/2026/04/26/8 | openwall.com |
