Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain publish access to consumed JMS destination
-
DeliveryCraft ObjectMessage with serialized gadget payload
-
ExploitSend message to queue/topic
-
ExecutionCamel consumer calls getObject() (mapJmsMessage default)
-
PersistGadget chain deserialized on classpath
-
ImpactExecute arbitrary code in Camel JVM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that Camel is acting as a JMS consumer with the mapJmsMessage option enabled (this is the DEFAULT) using an affected JMS-family component (camel-jms, camel-sjms, camel-sjms2, camel-amqp, camel-activemq, or camel-activemq6); that the attacker can publish a crafted javax.jms.ObjectMessage to a queue or topic that a Camel route consumes; and - critically - that a usable Java deserialization gadget chain is present on the application classpath, since without a gadget the getObject() call deserializes but does not yield code execution. Limiting factors: the attacker needs publish access to the target JMS destination (often gated by broker authentication and ACLs), the affected component must be in use as a consumer, and no code execution occurs if the classpath lacks an exploitable gadget. No user interaction is required and, per the NVD vector, no authentication to the Camel application itself (PR:N). |
| Impact | The signals are partly conflicting and warrant nuance. The NVD CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N, C/I/A:H) reflects worst-case unauthenticated network RCE, and SSVC rates Technical Impact as total and Automatable as yes - all pointing to high severity. However, SSVC Exploitation is 'none', the CVE is not on CISA KEV, no public PoC is referenced, and EPSS is only 0.30% (53rd percentile), indicating no observed or imminent mass exploitation. Two real-world preconditions materially lower practical risk below the raw 9.8: (1) a compatible deserialization gadget chain must already be present on the Camel application's classpath, and (2) the attacker must be able to publish a message to a JMS destination that a Camel route consumes, which in many deployments implies some level of broker access or network position. This is why an independent assessment favors AC:H rather than AC:L. Net: a genuinely dangerous flaw in a widely used integration framework that should be patched promptly, but exploitation is conditional rather than trivially universal, so it is a high priority for exposed or broker-reachable deployments and a lower one for internal-only, gadget-free classpaths. |
| Exploit ScenarioDerived | An attacker with the ability to write to a JMS queue or topic that a Camel application consumes crafts a malicious ObjectMessage embedding a serialized gadget-chain payload (e.g., ysoserial-style). When the Camel consumer receives it with the default mapJmsMessage enabled, JmsBinding.extractBodyFromJms() calls getObject(), deserializing the payload and triggering the gadget chain to run attacker code in the Camel JVM. No public exploit is identified at time of analysis, but the technique reuses well-documented Java deserialization gadgets. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Remote code execution in Apache Camel's JMS-family components (camel-jms, camel-sjms, camel-sjms2, camel-amqp, camel-activemq, camel-activemq6) allows an attacker who can publish a crafted JMS ObjectMessage to a consumed queue or topic to execute arbitrary code, because JmsBinding.extractBodyFromJms() calls ObjectMessage.getObject() with no ObjectInputFilter, allowlist, or denylist. Exploitation requires a usable deserialization gadget chain on the application classpath and is reachable in the default configuration (mapJmsMessage enabled) whenever Camel acts as a JMS consumer. There is no public exploit identified at time of analysis and the vulnerability is not on CISA KEV; EPSS is low at 0.30% (53rd percentile).
RemediationAI
Vendor-released patch: upgrade to Apache Camel 4.20.0, which fixes the issue; users on the 4.14.x LTS stream should upgrade to 4.14.7 and users on the 4.18.x stream should upgrade to 4.18.2 (per https://camel.apache.org/security/CVE-2026-40860.html). Red Hat consumers should apply RHSA-2026:17668 or RHSA-2026:22453. Where immediate patching is not possible, disable the mapJmsMessage option on affected JMS consumer endpoints so Camel does not auto-convert ObjectMessage bodies (trade-off: routes that rely on automatic JMS body mapping will need explicit handling and may break). Additionally, prevent producers from sending serialized Java objects by avoiding or refusing ObjectMessage on consumed destinations, and configure a JVM-wide deserialization filter (jdk.serialFilter / ObjectInputFilter) to allowlist only expected classes (trade-off: over-tight filters can block legitimate payloads). Restrict who can publish to Camel-consumed queues and topics via broker authentication and ACLs, and remove known deserialization gadget libraries from the classpath where feasible to eliminate exploitable chains.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 7 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-502 unsafe deserialization of untrusted data. Java's native serialization (java.io.ObjectInputStream) reconstructs arbitrary object graphs from a byte stream; when the target application contains gadget classes (e.g., from Commons-Collections, Spring, or similar libraries on the classpath), a crafted stream can be coerced into invoking dangerous methods during deserialization, yielding RCE. In Camel, the JMS message-conversion layer (JmsBinding.extractBodyFromJms in camel-jms and the equivalent class in camel-sjms) unwraps javax.jms.ObjectMessage bodies by calling getObject(), which triggers this deserialization without any ObjectInputFilter or class filtering. Because Sjms2Endpoint extends SjmsEndpoint, AMQPJmsBinding extends JmsBinding, and camel-activemq/activemq6 are built on JmsComponent, the same vulnerable path is inherited transitively across the JMS component family. The CPE data (cpe:2.3:a:apache:camel) confirms Apache Camel itself as the affected product across the listed version ranges, including the explicitly enumerated 4.19.0.
Know when Camel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable JMS with no auth to Camel (PR:N), but AC:H because exploitation depends on a classpath gadget chain and publish access to a consumed destination; successful RCE yields full C/I/A:H.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
4DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 19 maven packages depend on org.apache.camel:camel-activemq (3 direct, 16 indirect)
- 18 maven packages depend on org.apache.camel:camel-amqp (2 direct, 16 indirect)
- 29 maven packages depend on org.apache.camel:camel-jms (11 direct, 18 indirect)
- 25 maven packages depend on org.apache.camel:camel-sjms (4 direct, 21 indirect)
- 21 maven packages depend on org.apache.camel:camel-sjms2 (3 direct, 18 indirect)
Ecosystem-wide dependent count for version 3.0.0 and other introduced versions.
Executive ViewAI
Apache Camel's JMS-family components contain a critical remote code execution vulnerability allowing attackers with message queue access to execute arbitrary code through unsafe deserialization. This threatens any organization using Camel for JMS message consumption, with potential impact including complete system compromise and unauthorized data access.
Apply vendor patch. Until patching is complete, implement strict authentication and authorization controls limiting JMS message publishing to trusted sources, monitor queue activity for anomalous messages, and restrict system access to personnel with legitimate JMS operational needs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Bypass/Injection vulnerability in Apache Camel components under particular conditions.10.0 through <= 4.10.1, from 4.8.0
The XSLT component in Apache Camel before 2.11.4 and 2.12.x before 2.12.3 allows remote attackers to read arbitrary file
Apache Camel's Jackson and JacksonXML unmarshalling operation are vulnerable to Remote Code Execution attacks. Rated cri
The XSLT component in Apache Camel 2.11.x before 2.11.4, 2.12.x before 2.12.3, and possibly earlier versions allows remo
Cross-realm token acceptance bypass in Apache Camel Keycloak security policy. The KeycloakSecurityPolicy fails to proper
Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSeria
Unsafe Java deserialization in the Apache Camel camel-mina component (versions 3.0.0 through 4.14.5, 4.15.0 through 4.18
Apache Camel's File is vulnerable to directory traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely
The camel-castor component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-se
The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arb
The camel-hessian component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-s
Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arb
EUVD-2026-25794
GHSA-m5vh-3fw5-5wgh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB