Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40858: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache Camel

0
Critical
VulnerabilityCVE-2026-40858cvecve-2026-40858cwe-502
Published: Mon Apr 27 2026 (04/27/2026, 09:38:55 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

AILast updated: 04/27/2026, 10:15:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses