{"schemaVersion":3,"id":"CVE-2026-40858","aliases":["GHSA-4xwx-hvv7-7prj"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-27T09:38:55.466Z","modified":"2026-09-09T12:04:43.040Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01224,"percentile":0.68353,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.29,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00934},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01224,"percentile":0.68353}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01224,"percentile":0.68353}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"apache software foundation","product":"apache camel","name":"Apache Camel","label":"apache camel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.14.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.15.0, < 4.18.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.19.0, < 4.20.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_camel"},{"vendor":"apache","product":"camel","name":"camel","label":"camel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.14.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.15.0, < 4.18.2","noFixRecorded":false,"fixedIn":null},{"text":"4.19.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | 4.19.0","eol":{"isEol":true,"eolDate":"2026-04-23T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"4.19","label":"4.19","eolFrom":"2026-04-23T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"4.19.0"},"product":{"name":"apache-camel","label":"Apache Camel","category":"framework"}},"hubHref":"/vendor/apache/camel"},{"vendor":"org.apache.camel","product":"camel-infinispan","name":"org.apache.camel:camel-infinispan","label":"camel-infinispan","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.camel/camel-infinispan","purlType":"maven","versions":[{"text":"≥ 4.0.0, < 4.14.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.15.0, < 4.18.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.19.0, < 4.20.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://camel.apache.org/security/CVE-2026-40858.html","label":"camel.apache.org/security/CVE-2026-40858.html","hostname":"camel.apache.org","tags":["Vendor Advisory","WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40858","label":"access.redhat.com/security/cve/CVE-2026-40858","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463179","label":"bugzilla.redhat.com/show_bug.cgi?id=2463179","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40858.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40858.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22453","label":"access.redhat.com/errata/RHSA-2026:22453","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","label":"access.redhat.com/errata/RHSA-2026:17668","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40858","label":"nvd.nist.gov/vuln/detail/CVE-2026-40858","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/camel/pull/22152","label":"github.com/apache/camel/pull/22152","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22151","label":"github.com/apache/camel/pull/22151","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22150","label":"github.com/apache/camel/pull/22150","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22149","label":"github.com/apache/camel/pull/22149","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22148","label":"github.com/apache/camel/pull/22148","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22147","label":"github.com/apache/camel/pull/22147","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22146","label":"github.com/apache/camel/pull/22146","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce","label":"github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558","label":"github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b","label":"github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9","label":"github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8","label":"github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd","label":"github.com/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel","label":"github.com/apache/camel","hostname":"github.com","tags":["WEB"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-23222","label":"issues.apache.org/jira/browse/CAMEL-23222","hostname":"issues.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-27T09:38:55.466Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-09T12:04:43.040Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:50:04.409Z","stale":false,"partial":false}}