CVE-2026-40858 +3 CVEs: Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository
This Apache advisory covers CVE-2026-40858 and CVE-2024-22369 and 2 more CVEs in Apache Camel. Its rating, versions and guidance apply to the bulletin as a whole, not to each of its 4 CVEs.
Key facts
- Bulletin rating
- High, CVSS 8.8
- Affected
- Apache Camel 4.0.0 before 4.14.7; Apache Camel 4.15.0 before 4.18.2; Apache Camel 4.19.0 before 4.20.0
- Fixed in
- 4.14.7, 4.18.2, 4.20.0
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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.
The JIRA ticket: 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.
Text from the source record.
- Apache Camel 4.0.0 before 4.14.7
- Apache Camel 4.15.0 before 4.18.2
- Apache Camel 4.19.0 before 4.20.0
Official advisory · high-confidence parse· fetched ·verify at source
Fix and mitigation
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Users are recommended to upgrade to version 4.20.0, which fixes the issue.
More Apache Software Foundation advisories
CVE-2026-88901Oct 19, 2026Apache Camel XXECVE-2026-83531Oct 19, 2026Apache Camel expression language injectionCVE-2026-78162Oct 19, 2026Apache Camel: Camel-Hazelcast Managed Instances Missing Java Deserialization FilterCVE-2026-80354Sep 10, 2026Authorization bypass through User-Controlled key vulnerability in Apache Camel KCVE-2026-80351Sep 10, 2026Improper neutralization of directives in dynamically evaluated code ('eval injection')CVE-2026-80352Sep 10, 2026Apache Camel remote code execution
Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories
Get an email when Apache Messaging (ActiveMQ/Kafka/Pulsar) publishes the next one.
See Apache Messaging (ActiveMQ/Kafka/Pulsar)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.