CVE-2026-40858: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel
CVE-2026-40858 is a deserialization vulnerability in the Apache Camel camel-infinispan component. It occurs because the ProtoStream-based remote aggregation repository deserializes data from a remote Infinispan cache using java. io. ObjectInputStream without applying any ObjectInputFilter. An attacker able to write crafted serialized Java objects to the Infinispan cache can trigger arbitrary code execution when the application reads this data during aggregation operations. This affects Apache Camel versions from 4. 0. 0 before 4. 14. 7, from 4.
AI Analysis
Technical Summary
The vulnerability in Apache Camel's camel-infinispan component involves unsafe deserialization of untrusted data from a remote Infinispan cache. The component uses java.io.ObjectInputStream without an ObjectInputFilter, allowing an attacker who can write to the cache to inject malicious serialized Java objects. When these objects are deserialized during normal aggregation repository operations (such as get or recover), arbitrary code execution can occur within the application's context. This issue affects multiple Apache Camel release streams and is fixed in versions 4.14.7, 4.18.2, and 4.20.0. The vulnerability is tracked under CVE-2026-40858 and relates to CWE-502 (Deserialization of Untrusted Data).
Potential Impact
Successful exploitation allows an attacker with write access to the Infinispan cache to execute arbitrary code in the context of the affected Apache Camel application. This can lead to full compromise of the application environment. The vulnerability arises from unsafe deserialization practices in the camel-infinispan component's aggregation repository.
Mitigation Recommendations
Users should upgrade affected Apache Camel versions to 4.20.0 or the appropriate fixed LTS versions: 4.14.7 for the 4.14.x stream and 4.18.2 for the 4.18.x stream. These versions include fixes that apply ObjectInputFilter protections to prevent unsafe deserialization. No other mitigation or temporary workaround is specified in the vendor advisory. Patch status is confirmed by the vendor's recommended upgrade versions.
CVE-2026-40858: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel
Description
CVE-2026-40858 is a deserialization vulnerability in the Apache Camel camel-infinispan component. It occurs because the ProtoStream-based remote aggregation repository deserializes data from a remote Infinispan cache using java. io. ObjectInputStream without applying any ObjectInputFilter. An attacker able to write crafted serialized Java objects to the Infinispan cache can trigger arbitrary code execution when the application reads this data during aggregation operations. This affects Apache Camel versions from 4. 0. 0 before 4. 14. 7, from 4.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache Camel's camel-infinispan component involves unsafe deserialization of untrusted data from a remote Infinispan cache. The component uses java.io.ObjectInputStream without an ObjectInputFilter, allowing an attacker who can write to the cache to inject malicious serialized Java objects. When these objects are deserialized during normal aggregation repository operations (such as get or recover), arbitrary code execution can occur within the application's context. This issue affects multiple Apache Camel release streams and is fixed in versions 4.14.7, 4.18.2, and 4.20.0. The vulnerability is tracked under CVE-2026-40858 and relates to CWE-502 (Deserialization of Untrusted Data).
Potential Impact
Successful exploitation allows an attacker with write access to the Infinispan cache to execute arbitrary code in the context of the affected Apache Camel application. This can lead to full compromise of the application environment. The vulnerability arises from unsafe deserialization practices in the camel-infinispan component's aggregation repository.
Mitigation Recommendations
Users should upgrade affected Apache Camel versions to 4.20.0 or the appropriate fixed LTS versions: 4.14.7 for the 4.14.x stream and 4.18.2 for the 4.18.x stream. These versions include fixes that apply ObjectInputFilter protections to prevent unsafe deserialization. No other mitigation or temporary workaround is specified in the vendor advisory. Patch status is confirmed by the vendor's recommended upgrade versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-15T12:16:41.226Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ef33a6ba26a39fba154134
Added to database: 4/27/2026, 10:00:06 AM
Last enriched: 4/27/2026, 10:15:39 AM
Last updated: 4/27/2026, 11:05:21 AM
Views: 3
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.
External Links
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.