CVE-2026-40860: Vulnerability in Apache Camel
Critical. 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...
Maven, CWE-502
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-m5vh-3fw5-5wgh
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-502
- Published
- 27 Apr 2026
- Last change
- 26 Oct 2026
- Ecosystem
- Maven
Affected products
Affected versions and the first fixed release
- Apache Camel From 3.0.0 before 4.14.7; From 4.15.0 before 4.18.2; Version 4.19.0. Fixed in 4.14.7, 4.18.2
Affected packages
Vulnerable version ranges and fixed releases
- org.apache.camel:camel-jms Maven, Affected from 3.0.0 before 4.14.7. Fixed in 4.14.7
- org.apache.camel:camel-sjms Maven, Affected from 3.0.0 before 4.14.7. Fixed in 4.14.7
- org.apache.camel:camel-sjms2 Maven, Affected from 3.0.0 before 4.14.7. Fixed in 4.14.7
- org.apache.camel:camel-amqp Maven, Affected from 3.0.0 before 4.14.7. Fixed in 4.14.7
- org.apache.camel:camel-activemq Maven, Affected from 3.0.0 before 4.14.7. Fixed in 4.14.7
- org.apache.camel:camel-activemq6 Maven, Affected from 3.0.0 before 4.14.7. Fixed in 4.14.7
Advisories
Vendor and security advisories
- camel.apache.org/security/CVE-2026-40860.html
- openwall.com/lists/oss-security/2026/04/26/10
- access.redhat.com/errata/RHSA-2026:17668
- access.redhat.com/errata/RHSA-2026:22453
Related
- Camel vulnerabilities Recent advisories, watch this product