CVE-2026-40473
published high CVSS 3.1 · 8.8Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.camel:camel-minaApache Camel Mina · 3.0.0 to < 4.14.6 · 4.15.0 to < 4.18.2 · 4.19.0 to < 4.20.0 · Other versions: unaffected | Affected | Not stated | apache |
| Red Hat | — | camel-mina-sftpRed Hat build of Apache Camel for Spring Boot 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-minaRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-mina2Red Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-mina2-starterRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in the camel-mina component of Apache Camel. This vulnerability allows a remote attacker to achieve arbitrary code execution by sending a specially crafted serialized Java object over the network to the MINA consumer port. The `MinaConverter.toObjectInput` type converter, used when a Camel route processes network input, fails to apply necessary security filters or class-loading restrictions during object deserialization. This oversight enables an attacker to execute malicious code within the application's context.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- redhat-SADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Camel Mina | 3.0.0 to < 4.14.6 (affected · semver)4.15.0 to < 4.18.2 (affected · semver)4.19.0 to < 4.20.0 (affected · semver)Default: unaffected | apache · cna |
| Red Hat | Red Hat build of Apache Camel for Spring Boot 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-502 CWE-502 Deserialization of Untrusted Data
- CWE-502 Deserialization of Untrusted Data
References
5- http://www.openwall.com/lists/oss-security/2026/04/26/8
- https://access.redhat.com/security/cve/CVE-2026-40473
- RHBZ#2463180 https://bugzilla.redhat.com/show_bug.cgi?id=2463180
- https://camel.apache.org/security/CVE-2026-40473.html
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40473.json
Provider assertions
4apache · cna
Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP
redhat-SADP · adp
Apache Camel: camel-mina: Apache Camel camel-mina: Arbitrary code execution via insecure deserialization
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bfdc914b4edd171409517a9a016a3a8940a3f53f905123e77542b5d3331a82fb
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record