CVE-2026-40473
JSON

8.8high

Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.21% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-vpr3-2659-rw55

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

Product or packageVersionsReported by
org.apache.camel:camel-minafrom 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0CVE List
camel-mina-sftpNot specifiedCVE List
camel-minaNot specifiedCVE List
camel-mina2Not specifiedCVE List
camel-mina2-starterNot specifiedCVE List
org.apache.camel:camel-mina (Maven)from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0GitHub Advisory Database
apache camelfrom 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, 4.19.0NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat-SADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

El conversor de tipo MinaConverter.toObjectInput(IoBuffer) del componente camel-mina envuelve un IoBuffer en un java.io.ObjectInputStream sin aplicar ningún ObjectInputFilter o restricciones de carga de clases. Cuando una ruta de Camel usa camel-mina como consumidor TCP o UDP y solicita la conversión a ObjectInput (por ejemplo, a través de getBody(ObjectInput.class) o @Body ObjectInput), un atacante que envíe un objeto Java serializado malintencionado a través de la red al puerto consumidor de MINA puede desencadenar ejecución de código arbitrario en el contexto de la aplicación durante readObject(). Este problema afecta a Apache Camel: desde 3.0.0 antes de 4.14.6, desde 4.15.0 antes de 4.18.2, desde 4.19.0 antes de 4.20.0. Se recomienda a los usuarios actualizar a la versión 4.20.0, que corrige el problema. Si los usuarios están en la rama de versiones LTS 4.14.x, se les sugiere actualizar a 4.14.6. Si los usuarios están en la rama de versiones 4.18.x, se les sugiere actualizar a 4.18.2.

References

https://camel.apache.org/security/CVE-2026-40473.htmlvendor-advisory, web
http://www.openwall.com/lists/oss-security/2026/04/26/8mailing-list, third-party-advisory, web
https://access.redhat.com/security/cve/CVE-2026-40473vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2463180issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40473.json
https://nvd.nist.gov/vuln/detail/CVE-2026-40473advisory
https://github.com/apache/camel/pull/22583web
https://github.com/apache/camel/pull/22584web
https://github.com/apache/camel/pull/22585web
https://github.com/apache/camel/commit/8e7f6335d2b4b096df26f8221723405ceaee275aweb
https://github.com/apache/camel/commit/b605816d11c253d22989abc290c198be83e3f817web
https://github.com/apache/camel/commit/c35b0a3720f8c80025b06112d5d9c2932426d7f0web

Sources

SourceRecordLicence
CVE ListCVE-2026-40473 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-vpr3-2659-rw55 changed 2026-05-05CC-BY-4.0
NVDCVE-2026-40473 changed 2026-10-26Public domain