Description
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.
Published: 2026-04-27
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the camel-infinispan component’s remote aggregation repository, which deserializes data from a remote Infinispan cache using java.io.ObjectInputStream without applying an ObjectInputFilter. If an attacker can write to the cache, they can inject a crafted serialized Java object that, when later read during normal aggregation operations such as get or recover, triggers arbitrary code execution in the application’s context. This flaw is classified as CWE‑502 and allows the attacker to execute code with the privileges of the Camel application.

Affected Systems

Apache Camel versions 4.0.0 through 4.14.6, 4.15.0 through 4.18.1, and 4.19.0 through 4.19.9 are vulnerable. Versions 4.14.7, 4.18.2, and 4.20.0 contain the fix and are not affected.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity risk. Although the EPSS score is less than 1%, suggesting a low likelihood of exploitation at present, the possibility of malicious insiders or compromised components granting write access to the Infinispan cache cannot be ignored. The vulnerability is not listed in the CISA KEV catalog, but the potential impact remains severe. The attack vector is inferred to require write access to the Infinispan cache; once such access is achieved, the attacker can trigger code execution during routine repository operations.

Generated by OpenCVE AI on April 28, 2026 at 13:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Camel to version 4.20.0. For users on the 4.14.x LTS stream upgrade to 4.14.7, and for those on the 4.18.x stream upgrade to 4.18.2.
  • Reconfigure your Infinispan deployment to restrict write permissions to trusted services or authenticated clients, thereby preventing unauthenticated write access that could be exploited.
  • If an upgrade is not immediately possible, apply a runtime ObjectInputFilter to the ObjectInputStream used by camel-infinispan to reject unexpected serialized objects and mitigate the unsafe deserialization risk.

Generated by OpenCVE AI on April 28, 2026 at 13:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4xwx-hvv7-7prj Apache Camel-Infinispan Component Vulnerable to Deserialization of Untrusted Data
History

Wed, 06 May 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Tue, 28 Apr 2026 19:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.19.0:*:*:*:*:*:*:*

Tue, 28 Apr 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache camel
Vendors & Products Apache
Apache camel

Mon, 27 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 27 Apr 2026 10:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository
Weaknesses CWE-502
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-04-28T03:55:36.092Z

Reserved: 2026-04-15T12:16:41.226Z

Link: CVE-2026-40858

cve-icon Vulnrichment

Updated: 2026-04-27T14:10:45.956Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-27T10:16:09.627

Modified: 2026-04-28T19:41:18.333

Link: CVE-2026-40858

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-27T09:38:55Z

Links: CVE-2026-40858 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T13:15:31Z

Weaknesses