Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel Mina | 3.0.0 to before 4.14.6; 4.15.0 to before 4.18.2; 4.19.0 to before 4.20.0 | 4.14.6, 4.18.2, 4.20.0 | Patch available | CNA |
| — | org.apache.camel:camel-mina (Maven) | 3.0.0 to before 4.14.6 | 4.14.6 | Patch available | GHSA-vpr3-2659-rw55 |
| — | org.apache.camel:camel-mina (Maven) | 4.15.0 to before 4.18.2 | 4.18.2 | Patch available | GHSA-vpr3-2659-rw55 |
| — | org.apache.camel:camel-mina (Maven) | 4.19.0 to before 4.20.0 | 4.20.0 | Patch available | GHSA-vpr3-2659-rw55 |
- Apache Camel Mina VendorApache Affected 3.0.0 to before 4.14.6; 4.15.0 to before 4.18.2; 4.19.0 to before 4.20.0 Fixed in 4.14.6, 4.18.2, 4.20.0 Patch available CNA
- org.apache.camel:camel-mina (Maven) Vendor— Affected 3.0.0 to before 4.14.6 Fixed in 4.14.6 Patch available GHSA-vpr3-2659-rw55
- org.apache.camel:camel-mina (Maven) Vendor— Affected 4.15.0 to before 4.18.2 Fixed in 4.18.2 Patch available GHSA-vpr3-2659-rw55
- org.apache.camel:camel-mina (Maven) Vendor— Affected 4.19.0 to before 4.20.0 Fixed in 4.20.0 Patch available GHSA-vpr3-2659-rw55
Remediation
- Fix · CNA Apache Camel Mina (Apache Software Foundation) Fixed in 4.14.6, 4.18.2, 4.20.0
- Fix · GHSA-vpr3-2659-rw55 org.apache.camel:camel-mina (Maven) Fixed in 4.14.6 Advisory →
- Fix · GHSA-vpr3-2659-rw55 org.apache.camel:camel-mina (Maven) Fixed in 4.18.2 Advisory →
- Fix · GHSA-vpr3-2659-rw55 org.apache.camel:camel-mina (Maven) Fixed in 4.20.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Fuse 7
- Red Hat build of Apache Camel for Spring Boot 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40473
- 2026-10-03 Alias added: GHSA-vpr3-2659-rw55
References
Advisory 3
Other 8
- https://github.com/apache/camel/pull/22583
- https://github.com/apache/camel/pull/22584
- https://github.com/apache/camel/pull/22585
- https://github.com/apache/camel/commit/8e7f6335d2b4b096df26f8221723405ceaee275a
- https://github.com/apache/camel/commit/b605816d11c253d22989abc290c198be83e3f817
- https://github.com/apache/camel/commit/c35b0a3720f8c80025b06112d5d9c2932426d7f0
- https://github.com/apache/camel
- https://issues.apache.org/jira/browse/CAMEL-23319
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-40473 · CVE Program
- CVE-2026-40473 · NVD
- FIRST EPSS
- GHSA-vpr3-2659-rw55 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40473 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences