CVE-2026-40473: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel Mina
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-40473 in Apache Camel Mina involves unsafe deserialization of untrusted data. Specifically, the MinaConverter.toObjectInput method 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, an attacker can send a crafted serialized Java object to the MINA consumer port. This can trigger arbitrary code execution during the readObject() call. The issue affects Apache Camel versions from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, and from 4.19.0 before 4.20.0. The vendor recommends upgrading to 4.14.6, 4.18.2, or 4.20.0 to remediate the issue.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code within the context of the affected application, potentially leading to full compromise of the system running Apache Camel Mina. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
A fix is available. Users should upgrade to Apache Camel version 4.20.0, or if using the 4.14.x LTS stream, upgrade to 4.14.6, or if on the 4.18.x stream, upgrade to 4.18.2. No other mitigation or temporary workaround is indicated in the vendor advisory. Patch status is confirmed by the vendor advisory.
CVE-2026-40473: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel Mina
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.
CVSS v3.1
Score 8.8high
Affected software
pkg:maven/org.apache.camel/camel-minaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-40473 in Apache Camel Mina involves unsafe deserialization of untrusted data. Specifically, the MinaConverter.toObjectInput method 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, an attacker can send a crafted serialized Java object to the MINA consumer port. This can trigger arbitrary code execution during the readObject() call. The issue affects Apache Camel versions from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, and from 4.19.0 before 4.20.0. The vendor recommends upgrading to 4.14.6, 4.18.2, or 4.20.0 to remediate the issue.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code within the context of the affected application, potentially leading to full compromise of the system running Apache Camel Mina. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
A fix is available. Users should upgrade to Apache Camel version 4.20.0, or if using the 4.14.x LTS stream, upgrade to 4.14.6, or if on the 4.18.x stream, upgrade to 4.18.2. No other mitigation or temporary workaround is indicated in the vendor advisory. Patch status is confirmed by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-13T16:02:12.368Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-40473","vendor":"Red Hat"}]
Threat ID: 69ef291bba26a39fba10e180
Added to database: 04/27/2026, 09:15:07 UTC
Last enriched: 07/15/2026, 09:11:19 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.