{"schemaVersion":3,"id":"CVE-2026-40860","aliases":["GHSA-m5vh-3fw5-5wgh"],"status":"published","duplicateOf":null,"title":null,"description":"JmsBinding.extractBodyFromJms() in camel-jms, and the equivalent JmsBinding class in camel-sjms, deserialized the payload of incoming JMS ObjectMessage values via javax.jms.ObjectMessage.getObject() without applying any ObjectInputFilter, class allowlist or class denylist. Because this code path is reached whenever the mapJmsMessage option is enabled (the default) and Camel acts as a JMS consumer, an attacker able to publish a crafted ObjectMessage to a queue or topic consumed by a Camel application could achieve remote code execution when a deserialization gadget chain was present on the classpath. The same handling was reached transitively through camel-sjms2 (whose Sjms2Endpoint extends SjmsEndpoint) and through camel-amqp (whose AMQPJmsBinding extends JmsBinding), and by other JMS-family components built on JmsComponent such as camel-activemq and camel-activemq6.\n\nThis issue affects Apache Camel: from 3.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.","dates":{"published":"2026-04-27T08:03:19.616Z","modified":"2026-09-10T12:04:54.245Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01534,"percentile":0.74436,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.30799999999999994,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01226},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01534,"percentile":0.74436}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01226,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01534,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01534,"percentile":0.74436}]},"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":"≥ 3.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":"≥ 3.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":"≥ 3.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":"≥ 3.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-activemq","name":"org.apache.camel:camel-activemq","label":"camel-activemq","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.camel/camel-activemq","purlType":"maven","versions":[{"text":"≥ 3.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":"≥ 3.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":null},{"vendor":"org.apache.camel","product":"camel-activemq6","name":"org.apache.camel:camel-activemq6","label":"camel-activemq6","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.camel/camel-activemq6","purlType":"maven","versions":[{"text":"≥ 3.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":"≥ 3.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":null},{"vendor":"org.apache.camel","product":"camel-amqp","name":"org.apache.camel:camel-amqp","label":"camel-amqp","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.camel/camel-amqp","purlType":"maven","versions":[{"text":"≥ 3.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":"≥ 3.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":null},{"vendor":"org.apache.camel","product":"camel-jms","name":"org.apache.camel:camel-jms","label":"camel-jms","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.camel/camel-jms","purlType":"maven","versions":[{"text":"≥ 3.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":"≥ 3.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":null},{"vendor":"org.apache.camel","product":"camel-sjms","name":"org.apache.camel:camel-sjms","label":"camel-sjms","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.camel/camel-sjms","purlType":"maven","versions":[{"text":"≥ 3.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":"≥ 3.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":null},{"vendor":"org.apache.camel","product":"camel-sjms2","name":"org.apache.camel:camel-sjms2","label":"camel-sjms2","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.camel/camel-sjms2","purlType":"maven","versions":[{"text":"≥ 3.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":"≥ 3.0.0, < 4.14.7 | ≥ 4.15.0, < 4.18.2 | ≥ 4.19.0, < 4.20.0","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://camel.apache.org/security/CVE-2026-40860.html","label":"camel.apache.org/security/CVE-2026-40860.html","hostname":"camel.apache.org","tags":["Vendor Advisory","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/26/10","label":"www.openwall.com/lists/oss-security/2026/04/26/10","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40860","label":"access.redhat.com/security/cve/CVE-2026-40860","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463172","label":"bugzilla.redhat.com/show_bug.cgi?id=2463172","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","WEB"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40860.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40860.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"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","WEB"]},{"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","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40860","label":"nvd.nist.gov/vuln/detail/CVE-2026-40860","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/camel/pull/22598","label":"github.com/apache/camel/pull/22598","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22603","label":"github.com/apache/camel/pull/22603","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22604","label":"github.com/apache/camel/pull/22604","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/pull/22639","label":"github.com/apache/camel/pull/22639","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/0c06142c46a1422b6b49fab784a1087c50e48ee8","label":"github.com/apache/camel/commit/0c06142c46a1422b6b49fab784a1087c50e48ee8","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/107e8c279cf9bf488843e33fb6333cc2d7f37c67","label":"github.com/apache/camel/commit/107e8c279cf9bf488843e33fb6333cc2d7f37c67","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/commit/6a82709f0fc5431f46d2939547aacd2c7395c97a","label":"github.com/apache/camel/commit/6a82709f0fc5431f46d2939547aacd2c7395c97a","hostname":"github.com","tags":["WEB"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-23321","label":"issues.apache.org/jira/browse/CAMEL-23321","hostname":"issues.apache.org","tags":["WEB"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.20.0","label":"github.com/apache/camel/releases/tag/camel-4.20.0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.18.2","label":"github.com/apache/camel/releases/tag/camel-4.18.2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.14.7","label":"github.com/apache/camel/releases/tag/camel-4.14.7","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/camel","label":"github.com/apache/camel","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-27T08:03:19.616Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-10T12:04:54.245Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:04:01.185Z","stale":false,"partial":false}}