CVE-2026-40860: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel
CVE-2026-40860 is a critical deserialization vulnerability in Apache Camel's JMS components. The vulnerability arises because the JmsBinding.extractBodyFromJms() method deserializes incoming JMS ObjectMessage payloads without applying any filtering or allowlisting, enabling potential remote code execution if a malicious ObjectMessage is consumed. This affects Apache Camel versions from 3.0.0 before 4.14.7, from 4.15.0 before 4.
AI Analysis
Technical Summary
The vulnerability CVE-2026-40860 in Apache Camel involves unsafe deserialization of JMS ObjectMessage payloads in the JmsBinding.extractBodyFromJms() method and related JMS-family components. The method deserializes data without applying ObjectInputFilter or class allow/deny lists, which can be exploited by an attacker able to send crafted ObjectMessages to queues or topics consumed by Camel applications. Successful exploitation could lead to remote code execution if a suitable deserialization gadget chain is present on the classpath. This affects multiple versions of Apache Camel prior to the patched releases 4.14.7, 4.18.2, and 4.20.0.
Potential Impact
An attacker capable of publishing a crafted JMS ObjectMessage to a queue or topic consumed by a vulnerable Apache Camel application could achieve remote code execution. This can lead to full compromise of the affected system. The vulnerability has a CVSS v3.1 base score of 9.8, reflecting its critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Users should upgrade Apache Camel to version 4.20.0 or later. For those on the 4.14.x LTS stream, upgrade to 4.14.7 is recommended, and for the 4.18.x stream, upgrade to 4.18.2 is advised. These versions contain fixes that address the unsafe deserialization issue. No other mitigation or temporary workaround is specified in the advisory. Patch status is confirmed by the vendor advisory.
CVE-2026-40860: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel
Description
CVE-2026-40860 is a critical deserialization vulnerability in Apache Camel's JMS components. The vulnerability arises because the JmsBinding.extractBodyFromJms() method deserializes incoming JMS ObjectMessage payloads without applying any filtering or allowlisting, enabling potential remote code execution if a malicious ObjectMessage is consumed. This affects Apache Camel versions from 3.0.0 before 4.14.7, from 4.15.0 before 4.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-40860 in Apache Camel involves unsafe deserialization of JMS ObjectMessage payloads in the JmsBinding.extractBodyFromJms() method and related JMS-family components. The method deserializes data without applying ObjectInputFilter or class allow/deny lists, which can be exploited by an attacker able to send crafted ObjectMessages to queues or topics consumed by Camel applications. Successful exploitation could lead to remote code execution if a suitable deserialization gadget chain is present on the classpath. This affects multiple versions of Apache Camel prior to the patched releases 4.14.7, 4.18.2, and 4.20.0.
Potential Impact
An attacker capable of publishing a crafted JMS ObjectMessage to a queue or topic consumed by a vulnerable Apache Camel application could achieve remote code execution. This can lead to full compromise of the affected system. The vulnerability has a CVSS v3.1 base score of 9.8, reflecting its critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Users should upgrade Apache Camel to version 4.20.0 or later. For those on the 4.14.x LTS stream, upgrade to 4.14.7 is recommended, and for the 4.18.x stream, upgrade to 4.18.2 is advised. These versions contain fixes that address the unsafe deserialization issue. No other mitigation or temporary workaround is specified in the advisory. Patch status is confirmed by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-15T12:44:39.673Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ef291bba26a39fba10e184
Added to database: 4/27/2026, 9:15:07 AM
Last enriched: 5/5/2026, 7:41:00 AM
Last updated: 6/12/2026, 2:35:46 AM
Views: 119
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.