{"id":"CVE-2026-40858","aliases":["CVE-2026-40858","GHSA-4xwx-hvv7-7prj"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository","summary":"The camel-infinispan component's ProtoStream-based remote aggregation repository deserializes data read from a remote Infinispan cache using java.io.ObjectInputStream without applying any ObjectInputFilter. An attacker who can write to the Infinispan cache used by a Camel application can inject a crafted serialized Java object that, when read during normal aggregation repository operations such as get or recover, results in arbitrary code execution in the context of the application.\n\nThis issue affects Apache Camel: from 4.0.0 before 4.14.7, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0.\n\nUsers 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.7. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.\n\nThe JIRA ticket:  https://issues.apache.org/jira/browse/CAMEL-23322  refers to the various commits that resolved the issue, and have more details. This issue follows the same class of vulnerability previously addressed in CVE-2024-22369, CVE-2024-23114 and CVE-2026-25747.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The camel-infinispan component's ProtoStream-based remote aggregation repository deserializes data read from a remote Infinispan cache using java.io.ObjectInputStream without applying any ObjectInputFilter. An attacker who can write to the Infinispan cache used by a Camel application can inject a crafted serialized Java object that, when read during normal aggregation repository operations such as get or recover, results in arbitrary code execution in the context of the application.\n\nThis issue affects Apache Camel: from 4.0.0 before 4.14.7, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0.\n\nUsers 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.7. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.\n\nThe JIRA ticket:  https://issues.apache.org/jira/browse/CAMEL-23322  refers to the various commits that resolved the issue, and have more details. This issue follows the same class of vulnerability previously addressed in CVE-2024-22369, CVE-2024-23114 and CVE-2026-25747.","source":"cvelist"},{"lang":"es","text":"El repositorio de agregación remota basado en ProtoStream del componente camel-infinispan deserializa datos leídos de una caché remota de Infinispan utilizando java.io.ObjectInputStream sin aplicar ningún ObjectInputFilter. Un atacante que puede escribir en la caché de Infinispan utilizada por una aplicación Camel puede inyectar un objeto Java serializado manipulado que, cuando se lee durante operaciones normales del repositorio de agregación como get o recover, resulta en ejecución de código arbitrario en el contexto de la aplicación.\n\nEste problema afecta a Apache Camel: desde 4.0.0 antes de 4.14.7, desde 4.15.0 antes de 4.18.2, desde 4.19.0 antes de 4.20.0.\n\nSe 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, entonces se sugiere que actualicen a 4.14.7. Si los usuarios están en la rama de versiones 4.18.x, entonces se sugiere que actualicen a 4.18.2.\n\nEl ticket de JIRA: https://issues.apache.org/jira/browse/CAMEL-23322 se refiere a las diversas confirmaciones que resolvieron el problema y tienen más detalles. Este problema sigue la misma clase de vulnerabilidad abordada previamente en CVE-2024-22369, CVE-2024-23114 y CVE-2026-25747.","source":"nvd"}],"published":"2026-04-27T09:38:55.466Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","fixed":"4.14.7","status":"affected"},{"type":"semver","introduced":"4.15.0","fixed":"4.18.2","status":"affected"},{"type":"semver","introduced":"4.19.0","fixed":"4.20.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Camel","package":"org.apache.camel:camel-infinispan","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14","package":"camel-infinispan","cpe":"cpe:/a:redhat:apache_camel_spring_boot:4.18","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"infinispan-common","fixed":"*","status":"unaffected"},{"type":"rpm","introduced":"infinispan-embedded","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14","package":"camel","cpe":"cpe:/a:redhat:apache_camel_spring_boot:4.18","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Apache Camel 4.18 for Quarkus 3.33","package":"camel-infinispan","cpe":"cpe:/a:redhat:apache_camel_quarkus:3.33","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"infinispan-common","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Build of Apache Camel 4.18 for Quarkus 3.33","package":"camel","cpe":"cpe:/a:redhat:apache_camel_quarkus:3.33","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Apache Camel 4 for Quarkus 3","package":"camel-infinispan","cpe":"cpe:/a:redhat:camel_quarkus:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Apache Camel 4 for Quarkus 3","package":"camel-infinispan-common","cpe":"cpe:/a:redhat:camel_quarkus:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Fuse 7","package":"camel-infinispan","cpe":"cpe:/a:redhat:jboss_fuse:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Fuse 7","package":"camel-infinispan-common","cpe":"cpe:/a:redhat:jboss_fuse:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Fuse 7","package":"camel-infinispan-starter","cpe":"cpe:/a:redhat:jboss_fuse:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","package":"camel-infinispan","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","package":"camel-infinispan-common","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","package":"camel-infinispan","cpe":"cpe:/a:redhat:jbosseapxp","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","package":"camel-infinispan-common","cpe":"cpe:/a:redhat:jbosseapxp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.14.7"}],"ecosystem":"Maven","package":"org.apache.camel:camel-infinispan","purl":"pkg:maven/org.apache.camel/camel-infinispan","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.15.0","status":"affected","fixed":"4.18.2"}],"ecosystem":"Maven","package":"org.apache.camel:camel-infinispan","purl":"pkg:maven/org.apache.camel/camel-infinispan","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.19.0","status":"affected","fixed":"4.20.0"}],"ecosystem":"Maven","package":"org.apache.camel:camel-infinispan","purl":"pkg:maven/org.apache.camel/camel-infinispan","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.14.7"},{"status":"affected","introduced":"4.15.0","fixed":"4.18.2"},{"status":"affected","version":"4.19.0"}],"vendor":"apache","product":"camel","cpe":"cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-40858.html","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40858","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463179","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40858.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22453","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40858","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/22152","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/22151","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/22150","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/22149","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/22148","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/22147","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/22146","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel","tags":["web"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-23222","tags":["web"],"sources":["ghsa"]}],"credits":["Feng Ning from Innora Pte. Ltd."],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-27T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40858","url":"https://www.cve.org/CVERecord?id=CVE-2026-40858","licence":"CVE Terms of Use","modified":"2026-09-09T12:04:43.040Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4xwx-hvv7-7prj","url":"https://github.com/advisories/GHSA-4xwx-hvv7-7prj","licence":"CC-BY-4.0","modified":"2026-05-05T22:11:25.582Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40858","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40858","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:19.649Z","epss":{"score":0.01325,"percentile":0.71791,"date":"2026-12-01T12:00:22.000Z"}}