Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-40473
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 13:26 UTC · Revision 1
Source evidence
Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP
core-osv · Original sourcePublished 27 Apr 2026, 07:51 UTC
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.
osv:CVE-2026-40473
Complete source record
{
"id": "00f51cbf690348e3506cc5e6d1ad0082cf913222a397e5905b2581e412334e0c",
"url": "https://osv.dev/vulnerability/CVE-2026-40473",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP",
"summary": "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.",
"evidence": "osv:CVE-2026-40473",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-40473",
"aliases": [
"CVE-2026-40473",
"GHSA-vpr3-2659-rw55"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/camel",
"type": "GIT",
"events": [
{
"introduced": "ac11f88de7594232c3c28532a19377764665ce13"
},
{
"fixed": "699d9363ab93c54a255afdf97077ee35c3709cd2"
},
{
"introduced": "038f1b2acd0b2ee78e4bb84cd3139e64610bb259"
},
{
"fixed": "2326a42c5595aa1eee21caafeee75f8e7f0261ea"
},
{
"introduced": "3e9f3011ad48de66fef582ade9794c7340c23af7"
},
{
"last_affected": "3e9f3011ad48de66fef582ade9794c7340c23af7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "4.14.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.18.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:camel:4.19.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.19.0"
},
{
"last_affected": "4.19.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.19.0",
"camel-4.19.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40473.json"
}
}
],
"modified": "2026-10-28T02:30:50.729558472Z",
"provider": "osv",
"references": [
"https://repo.maven.apache.org/maven2",
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40473.json",
"https://access.redhat.com/security/cve/CVE-2026-40473",
"https://camel.apache.org/security/CVE-2026-40473.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40473.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40473",
"https://bugzilla.redhat.com/show_bug.cgi?id=2463180"
],
"provider_metadata": {
"cwe_ids": [
"CWE-502"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "4.14.6"
},
{
"introduced": "4.15.0"
},
{
"fixed": "4.18.2"
},
{
"introduced": "4.19.0"
},
{
"fixed": "4.20.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40473.json"
}
},
"related_cves": [
{
"value": "CVE-2026-40473",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519454,
"published_at": "2026-04-27T07:51:59.134+00:00"
}