CVE-2026-40860
Apache Camel: Unsafe Deserialization of JMS ObjectMessage in camel-jms, camel-sjms, camel-sjms2 and camel-amqp
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.
INFO
Published Date :
April 27, 2026, 9:16 a.m.
Last Modified :
Oct. 26, 2026, 10:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | ||||
| CVSS 3.1 | HIGH | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
Solution
- Upgrade Apache Camel to version 4.20.0 or later.
- For LTS, upgrade to 4.14.7 or later.
- For 4.18.x, upgrade to 4.18.2 or later.
Public PoC/Exploit Available at Github
CVE-2026-40860 has a 4 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40860.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40860 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40860
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Reproducer for CVE-2026-43866 — Apache Camel camel-jms forged DefaultExchangeHolder bypass of the CVE-2026-40860 deserialization filter (Exchange-state injection)
Dockerfile Java
Reproducer for CVE-2026-40860 — Apache Camel camel-jms/sjms/amqp JMS ObjectMessage unsafe deserialization (RCE)
Dockerfile Java
None
Python
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40860 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-40860 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Changed Translation Title: Apache Camel de Apache Software Foundation, Description: JmsBinding.extractBodyFromJms() en camel-jms, y la clase JmsBinding equivalente en camel-sjms, deserializó la carga útil de los valores entrantes de JMS ObjectMessage a través de javax.jms.ObjectMessage.getObject() sin aplicar ningún ObjectInputFilter, lista de permitidos de clases o lista de denegados de clases. Debido a que esta ruta de código se alcanza siempre que la opción mapJmsMessage está habilitada (el valor predeterminado) y Camel actúa como un consumidor JMS, un atacante capaz de publicar un ObjectMessage manipulado en una cola o tema consumido por una aplicación Camel podría lograr la ejecución remota de código cuando una cadena de gadgets de deserialización estaba presente en el classpath. El mismo manejo se alcanzó transitivamente a través de camel-sjms2 (cuyo Sjms2Endpoint extiende SjmsEndpoint) y a través de camel-amqp (cuyo AMQPJmsBinding extiende JmsBinding), y por otros componentes de la familia JMS construidos sobre JmsComponent como camel-activemq y camel-activemq6. Este problema afecta a Apache Camel: desde 3.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. Se 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, se les sugiere actualizar a 4.14.7. Si los usuarios están en la rama de versiones 4.18.x, se les sugiere actualizar a 4.18.2. Title: Apache Camel de Apache Software Foundation, Description: JmsBinding.extractBodyFromJms() en camel-jms, y la clase JmsBinding equivalente en camel-sjms, deserializó la carga útil de los valores entrantes de JMS ObjectMessage a través de javax.jms.ObjectMessage.getObject() sin aplicar ningún ObjectInputFilter, lista de permitidos de clases o lista de denegados de clases. Debido a que esta ruta de código se alcanza siempre que la opción mapJmsMessage está habilitada (el valor predeterminado) y Camel actúa como un consumidor JMS, un atacante capaz de publicar un ObjectMessage manipulado en una cola o tema consumido por una aplicación Camel podría lograr la ejecución remota de código cuando una cadena de gadgets de deserialización estaba presente en el classpath. El mismo manejo se alcanzó transitivamente a través de camel-sjms2 (cuyo Sjms2Endpoint extiende SjmsEndpoint) y a través de camel-amqp (cuyo AMQPJmsBinding extiende JmsBinding), y por otros componentes de la familia JMS construidos sobre JmsComponent como camel-activemq y camel-activemq6. Este problema afecta a Apache Camel: desde 3.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. Se 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, se les sugiere actualizar a 4.14.7. Si los usuarios están en la rama de versiones 4.18.x, se les sugiere actualizar a 4.18.2. -
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Added Translation Title: Apache Camel de Apache Software Foundation, Description: JmsBinding.extractBodyFromJms() en camel-jms, y la clase JmsBinding equivalente en camel-sjms, deserializó la carga útil de los valores entrantes de JMS ObjectMessage a través de javax.jms.ObjectMessage.getObject() sin aplicar ningún ObjectInputFilter, lista de permitidos de clases o lista de denegados de clases. Debido a que esta ruta de código se alcanza siempre que la opción mapJmsMessage está habilitada (el valor predeterminado) y Camel actúa como un consumidor JMS, un atacante capaz de publicar un ObjectMessage manipulado en una cola o tema consumido por una aplicación Camel podría lograr la ejecución remota de código cuando una cadena de gadgets de deserialización estaba presente en el classpath. El mismo manejo se alcanzó transitivamente a través de camel-sjms2 (cuyo Sjms2Endpoint extiende SjmsEndpoint) y a través de camel-amqp (cuyo AMQPJmsBinding extiende JmsBinding), y por otros componentes de la familia JMS construidos sobre JmsComponent como camel-activemq y camel-activemq6. Este problema afecta a Apache Camel: desde 3.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. Se 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, se les sugiere actualizar a 4.14.7. Si los usuarios están en la rama de versiones 4.18.x, se les sugiere actualizar a 4.18.2. -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Sep. 09, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/40xxx/CVE-2026-40860.json">CVE-2026-40860</a> Added Reference https://access.redhat.com/errata/RHSA-2026:17668 Added Reference https://access.redhat.com/errata/RHSA-2026:22453 Added Reference https://access.redhat.com/security/cve/CVE-2026-40860 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2463172 Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40860.json Removed Reference https://access.redhat.com/errata/RHSA-2026:17668 Removed Reference https://access.redhat.com/errata/RHSA-2026:22453 Removed Reference https://access.redhat.com/security/cve/CVE-2026-40860 Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=2463172 Removed Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40860.json -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Sep. 09, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/04/26/10 Removed Reference http://www.openwall.com/lists/oss-security/2026/04/26/10 Removed Reference Type http://www.openwall.com/lists/oss-security/2026/04/26/10 Types: Mailing List, Third Party Advisory -
CVE Modified by [email protected]
Sep. 09, 2026
Action Type Old Value New Value Added Reference https://camel.apache.org/security/CVE-2026-40860.html Removed Reference https://camel.apache.org/security/CVE-2026-40860.html Removed Reference Type https://camel.apache.org/security/CVE-2026-40860.html Types: Vendor Advisory -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jul. 15, 2026
Action Type Old Value New Value Changed Affected [{'cpes': ['cpe:/a:redhat:apache_camel_quarkus:3.33'], 'vendor': 'Red Hat', 'product': 'Red Hat Build of Apache Camel 4.18 for Quarkus 3.33', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:apache_camel_spring_boot:4.18'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:camel_quarkus:3'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4 for Quarkus 3', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'defaultStatus': 'unaffected'}] [{'cpes': ['cpe:/a:redhat:apache_camel_spring_boot:4.18'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14', 'packageName': 'camel-amqp', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:apache_camel_spring_boot:4.18'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14', 'packageName': 'camel-jms', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:apache_camel_quarkus:3.33'], 'vendor': 'Red Hat', 'product': 'Red Hat Build of Apache Camel 4.18 for Quarkus 3.33', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:camel_quarkus:3'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4 for Quarkus 3', 'packageName': 'camel-amqp', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:camel_quarkus:3'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4 for Quarkus 3', 'packageName': 'camel-jms', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'packageName': 'camel-amqp', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'packageName': 'camel-jms', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'packageName': 'camel-jms-starter', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'packageName': 'camel-amqp', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'packageName': 'camel-jms', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'packageName': 'camel-amqp', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'packageName': 'camel-jms', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}] -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jun. 30, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:/a:redhat:apache_camel_quarkus:3.33'], 'vendor': 'Red Hat', 'product': 'Red Hat Build of Apache Camel 4.18 for Quarkus 3.33', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:apache_camel_spring_boot:4.18'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:camel_quarkus:3'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4 for Quarkus 3', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'defaultStatus': 'unaffected'}] Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-502 Added Reference https://access.redhat.com/errata/RHSA-2026:17668 Added Reference https://access.redhat.com/errata/RHSA-2026:22453 Added Reference https://access.redhat.com/security/cve/CVE-2026-40860 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2463172 Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40860.json -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-40860', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-04-27T00:00:00+00:00'} -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Apache Software Foundation', 'product': 'Apache Camel', 'versions': [{'status': 'affected', 'version': '3.0.0', 'lessThan': '4.14.7', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.15.0', 'lessThan': '4.18.2', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.0', 'lessThan': '4.20.0', 'versionType': 'semver'}], 'packageName': 'org.apache.camel:camel-jms', 'collectionURL': 'https://repo.maven.apache.org/maven2', 'defaultStatus': 'unaffected'}] -
Initial Analysis by [email protected]
Apr. 28, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:camel:4.19.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* versions from (including) 4.15.0 up to (excluding) 4.18.2 *cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 4.14.7 Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/04/26/10 Types: Mailing List, Third Party Advisory Added Reference Type Apache Software Foundation: https://camel.apache.org/security/CVE-2026-40860.html Types: Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by [email protected]
Apr. 27, 2026
Action Type Old Value New Value Added 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. Added CWE CWE-502 Added Reference https://camel.apache.org/security/CVE-2026-40860.html -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 27, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/04/26/10