Skip to main content

Apache Camel CVE-2026-40858

| EUVDEUVD-2026-25808 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-04-27 apache GHSA-4xwx-hvv7-7prj
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain write access to Infinispan cache
  2. Delivery
    Craft malicious serialized Java gadget
  3. Exploit
    Inject object into aggregation repository key
  4. Execution
    Camel get/recover reads entry
  5. Persist
    ObjectInputStream deserializes without filter
  6. Impact
    Gadget chain executes arbitrary code

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

The application must use the camel-infinispan ProtoStream-based remote aggregation repository (InfinispanRemoteAggregationRepository) backed by a remote Infinispan cache, and the attacker must have write access to that cache to insert a crafted serialized object; exploitation then fires on a normal get or recover operation. It is further limited by the need for a suitable Java deserialization gadget chain on the application classpath and by the PR:L requirement (cache-write access is not granted to fully unauthenticated outsiders in a properly secured deployment). It is NOT reachable against a default Camel install that does not use the Infinispan remote aggregation repository.

Impact

The CVSS 3.1 base score is 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), reflecting network reach and total confidentiality/integrity/availability loss, but the real-world picture is more nuanced. Exploitation is gated by a concrete prerequisite - the attacker must be able to write to the shared Infinispan cache - captured by PR:L and consistent with CISA SSVC (Exploitation: none, Automatable: no, Technical Impact: total). EPSS is very low at 0.08% (24th percentile) and the CVE is NOT in CISA KEV, so despite publicly available exploit code the signals point to a serious-but-not-yet-mass-exploited issue: 'Automatable: no' plus the cache-write precondition make this a targeted risk against specific Camel deployments rather than internet-wide scanning. Caveat: successful RCE additionally depends on a usable gadget chain on the classpath, which CVSS AC:L does not fully capture - verify your dependency set when prioritizing.

Exploit ScenarioDerived

An attacker who has gained write access to the Infinispan data grid shared by a Camel application (for example a compromised co-tenant service or leaked cache credentials) stores a crafted serialized Java object under a key the aggregation repository will read. When Camel next performs a normal get or recover on the aggregation repository, ObjectInputStream deserializes the payload, triggers a gadget chain on the classpath, and runs attacker code with the application's privileges. Publicly available POC code for this deserialization class lowers the effort required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoStream-based remote aggregation repository reads objects from an Infinispan cache using java.io.ObjectInputStream with no ObjectInputFilter applied. Any attacker able to write to the backing Infinispan cache can plant a malicious serialized gadget that executes in the application context during routine get/recover operations. Publicly available exploit code exists, though EPSS is low (0.08%) and there is no evidence of active exploitation.

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 to 4.18.2. Track the fix commits via JIRA CAMEL-23322 and the advisory at https://camel.apache.org/security/CVE-2026-40858.html; Red Hat consumers should apply RHSA-2026:17668 and RHSA-2026:22453. If immediate patching is not possible, restrict and authenticate write access to the Infinispan cache so untrusted parties cannot insert entries (this removes the injection vector but requires cache ACL/credential changes), isolate the Infinispan cluster on a trusted network segment, and where feasible install a JVM-wide ObjectInputFilter (jdk.serialFilter) allow-listing only expected Camel/exchange classes - noting an overly strict filter can break legitimate aggregation deserialization and must be tested against your exchange payloads.

Affected VersionsENISA

Apache Camel 4.15.0 <4.18.2
Apache Camel 4.0.0 <4.14.7
Apache Camel 4.19.0 <4.20.0

Affected Packages

maven org.apache.camel:camel-infinispan fix: 4.14.7, 4.18.2, 4.20.0
euvd apache_camel fix: 4.14.7, 4.18.2, 4.20.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 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

Apache Camel is a widely used Java integration framework whose aggregator EIP can persist in-flight exchanges to an external repository. The camel-infinispan component provides an InfinispanRemoteAggregationRepository that stores serialized exchange state in a remote Infinispan (JBoss Data Grid) key/value cache, using ProtoStream for marshalling but falling back to native Java serialization (ObjectInputStream) for payload objects. Because no ObjectInputFilter (JEP 290 allow/deny list) is installed, the classic CWE-502 (Deserialization of Untrusted Data) condition is met: any serialized object graph read from the cache is fully reconstructed, so a Java gadget chain present on the application classpath (e.g. commons-collections, Spring) can be driven to code execution. This is the same defect class Camel previously patched in CVE-2024-22369, CVE-2024-23114 and CVE-2026-25747, indicating a recurring pattern of unfiltered ObjectInputStream use across Camel components.

Know when Java 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

Vendor (apache) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Network-reachable via the cache with PR:L for required cache-write access, but AC:H because exploitation also depends on a usable gadget chain on the classpath; full C/I/A loss on RCE.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.8 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 19:41 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
8.8 (HIGH)
Patch available
Apr 27, 2026 - 11:01 EUVD
CVE Published
Apr 27, 2026 - 09:38 nvd
HIGH 8.8

DescriptionCVE.org

The camel-infinispan component's ProtoStream-based remote aggregation repository deserializes data read from a remote Infinispan cache using java.io.ObjectInputStream without applying any ObjectInputFilter. An attacker who can write to the Infinispan cache used by a Camel application can inject a crafted serialized Java object that, when read during normal aggregation repository operations such as get or recover, results in arbitrary code execution in the context of the application.

This issue affects Apache Camel: from 4.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.

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-23322 refers to the various commits that resolved the issue, and have more details. This issue follows the same class of vulnerability previously addressed in CVE-2024-22369, CVE-2024-23114 and CVE-2026-25747.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 10 maven packages depend on org.apache.camel:camel-infinispan (5 direct, 5 indirect)

Ecosystem-wide dependent count for version 4.0.0.

Executive ViewAI

Why It Matters

Apache Camel's infinispan component contains a deserialization vulnerability allowing remote code execution when processing cache data through the ProtoStream-based remote aggregation repository. Publicly available exploit code exists; any attacker with write access to the backing Infinispan cache can execute arbitrary code within the application context. This threatens data confidentiality, system availability, and enables lateral movement for organizations relying on this component.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patches are deployed, implement network-level access controls restricting write operations to the Infinispan cache, enforce authentication and authorization on all cache endpoints, and deploy continuous monitoring on cache write operations to detect exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% exploitable
Prevalence
Medium
Camel is widely used, but only Infinispan aggregation-repository deployments are affected
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy