CVE-2026-40860Apache Camel: Unsafe Deserialization of JMS ObjectMessage in camel-jms, camel-sjms, camel-sjms2 and camel-amqp
- 9.8CriticalCVSS base score
- 1.7%Exploitation in 30 daysEPSS · top 22% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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. This 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. 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.7. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.
Timeline
ID reserved
By apache
- 12 days later
· 12 days later
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.7% · top 22% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Apache Software Foundation · Apache Camel
- affected 3.0.0 – < 4.14.7
- affected 4.15.0 – < 4.18.2
- affected 4.19.0 – < 4.20.0
Affected packages
Affected packages6
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.camel:camel-activemqGHSA-m5vh-3fw5-5wgh (opens in a new tab)
- Mavenorg.apache.camel:camel-activemq6GHSA-m5vh-3fw5-5wgh (opens in a new tab)
- Mavenorg.apache.camel:camel-amqpGHSA-m5vh-3fw5-5wgh (opens in a new tab)
- Mavenorg.apache.camel:camel-jmsGHSA-m5vh-3fw5-5wgh (opens in a new tab)
- Mavenorg.apache.camel:camel-sjmsGHSA-m5vh-3fw5-5wgh (opens in a new tab)
- Mavenorg.apache.camel:camel-sjms2GHSA-m5vh-3fw5-5wgh (opens in a new tab)
References
References7
- https://camel.apache.org/security/CVE-2026-40860.html (opens in a new tab)vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/04/26/10 (opens in a new tab)
- https://access.redhat.com/security/cve/CVE-2026-40860 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2463172 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40860.json (opens in a new tab)x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:22453 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:17668 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-25794 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-m5vh-3fw5-5wgh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-40860)Record last updated .