Cyber Resilience

CVE-2026-40860

RCE in Apache Camel 3.0.0 – 4.14.7

Published
27 April 2026
Modified
15 July 2026
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.012 66th percentile
Risk Priority 74 floored blend · peak EPSS

Summary

CVE-2026-40860 is a critical-severity Deserialization of Untrusted Data (CWE-502) vulnerability in Apache Camel. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 34% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-40860 is a critical deserialization vulnerability (CWE-502) in Apache Camel's JMS-related components, including camel-jms, camel-sjms, camel-sjms2, camel-amqp, camel-activemq, and camel-activemq6. The flaw resides in the JmsBinding.extractBodyFromJms() method in camel-jms and equivalent classes in the other components, which deserialize payloads from incoming JMS ObjectMessages using javax.jms.ObjectMessage.getObject() without any ObjectInputFilter, class allowlist, or class denylist. This code path is invoked by default when the mapJmsMessage option is enabled (the default setting) and Camel operates as a JMS consumer. The vulnerability affects Apache Camel versions from 3.0.0 before 4.14.7, from 4.15.0 before 4.18.2, and from 4.19.0 before 4.20.0.

An attacker who can publish a crafted ObjectMessage to a queue or topic consumed by a vulnerable Camel application can trigger remote code execution if a deserialization gadget chain is present on the application's classpath. Exploitation requires no authentication or user interaction, with network access to the JMS broker, and has a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

The Apache Camel security advisory recommends upgrading to version 4.20.0, which resolves the issue. Users on the 4.14.x LTS release stream should upgrade to 4.14.7, while those on 4.18.x should upgrade to 4.18.2. Further details are provided in the official advisory at https://camel.apache.org/security/CVE-2026-40860.html and the oss-security mailing list announcement at http://www.openwall.com/lists/oss-security/2026/04/26/10.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-40858Same product: Apache Camel
CVE-2026-40048Same product: Apache Camel
CVE-2026-40473Same product: Apache Camel
CVE-2026-43865Same product: Apache Camel
CVE-2026-46590Same product: Apache Camel
CVE-2026-43866Same product: Apache Camel
CVE-2024-23114Same product: Apache Camel
CVE-2026-42527Same product: Apache Camel
CVE-2026-27172Same product: Apache Camel
CVE-2026-25747Same product: Apache Camel

Affected Assets

apache
camel
4.19.0 · 3.0.0 — 4.14.7 · 4.15.0 — 4.18.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can uncover deserialization flaws before deployment.

Input validation directly stops deserialization of untrusted data by ensuring inputs are valid before processing.

Engineering principles such as safe deserialization and input sanitization structurally prevent the weakness from being introduced.

Integrity verification tools can detect malformed or tampered serialized data after the fact.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-02 none match
prevents

PR.PS-02 addresses only post-deployment updates/patching and cannot prevent introduction of unsafe deserialization code, yet it can remediate some instances when the flaw exists in outdated libraries or components.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing includes validation of deserialization routines and the use of untrusted data, reducing the likelihood that unsafe object reconstruction will be deployed.

prevents

Requiring vetted libraries, regular updates and SAST before release reduces the likelihood that deserialization logic will accept and act on attacker-controlled serialized objects.

finds

Regular scanning of third-party libraries and timely patching reduce the likelihood that unsafe deserialization vulnerabilities remain active.

none

Mandatory malware scanning of data received over networks or storage media intercepts malicious serialized payloads before they are deserialized by the target application.

References