{"cve":"CVE-2026-40858","nvd":{"published":"2026-04-27T10:16:09.627","modified":"2026-10-26T22:10:00.163","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-502"],"references":["https://camel.apache.org/security/CVE-2026-40858.html","https://access.redhat.com/errata/RHSA-2026:17668","https://access.redhat.com/errata/RHSA-2026:22453","https://access.redhat.com/security/cve/CVE-2026-40858","https://bugzilla.redhat.com/show_bug.cgi?id=2463179"],"products":["apache:camel"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-40858","score":0.01305,"percentile":0.70336,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-4xwx-hvv7-7prj","url":"https://osv.dev/vulnerability/GHSA-4xwx-hvv7-7prj","summary":"Apache Camel-Infinispan Component Vulnerable to Deserialization of Untrusted Data","modified":"2026-05-05T22:11:25.582768Z","packages":[{"ecosystem":"Maven","name":"org.apache.camel:camel-infinispan","purl":"pkg:maven/org.apache.camel/camel-infinispan","ranges":[">=4.0.0 <4.14.7"],"fixed":["4.14.7"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-infinispan","purl":"pkg:maven/org.apache.camel/camel-infinispan","ranges":[">=4.15.0 <4.18.2"],"fixed":["4.18.2"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-infinispan","purl":"pkg:maven/org.apache.camel/camel-infinispan","ranges":[">=4.19.0 <4.20.0"],"fixed":["4.20.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}