CVE-2026-40858 json
Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository
published 2026-04-27 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-25808 , GHSA-4xwx-hvv7-7prj
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.camel:camel-infinispan 4.14.7, 4.18.2, 4.20.0
- Apache Software Foundation Apache Camel 4.14.7, 4.18.2, 4.20.0
- github.com/apache/camel@e074c01 commit
- github.com/apache/camel@5c20de8 commit
- github.com/apache/camel@540d48e commit
- github.com/apache/camel@3926ab2 commit
- github.com/apache/camel@05cffa5 commit
- github.com/apache/camel@0307dd4 commit
- github.com/apache/camel#22152 pull request
- github.com/apache/camel#22151 pull request
- github.com/apache/camel#22150 pull request
- github.com/apache/camel#22149 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-40858 updated cvss 8.8
org.apache.camel/camel-infinispan: Apache Camel camel-infinispan: Arbitrary code execution via deserialization of untrusted data
-
Red Hat build of Apache Camel 4 for Quarkus 3 camel-infinispan, camel-infinispan-commonaffected: no fix available
-
Red Hat Build of Apache Camel 4.18 for Quarkus 3.33fixed: vendor fix RHSA-2026:22453
-
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14fixed: vendor fix RHSA-2026:17668
-
Red Hat Fuse 7 camel-infinispan, camel-infinispan-common, camel-infinispan-starter Red Hat JBoss Enterprise Application Platform 8 camel-infinispan, camel-infinispan-common Red Hat JBoss Enterprise Application Platform Expansion Pack camel-infinispan, camel-infinispan-commonnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.camel:camel-infinispan | >=4.0.0, <4.14.7 >=4.15.0, <4.18.2 >=4.19.0, <4.20.0 |
4.14.7 4.18.2 4.20.0 |
Affected products
- Apache Software Foundation Apache Camel
- Red Hat Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
- Red Hat Red Hat Build of Apache Camel 4.18 for Quarkus 3.33
- Red Hat Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat Red Hat Fuse 7
- Red Hat Red Hat JBoss Enterprise Application Platform 8
- Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
- Technology feeds
References
-
github.com
/apache/camel/pull/22152
web
-
github.com
/apache/camel/pull/22151
web
-
github.com
/apache/camel/pull/22150
web
-
github.com
/apache/camel/pull/22149
web
-
github.com
/apache/camel/pull/22148
web
-
github.com
/apache/camel/pull/22147
web
-
github.com
/apache/camel/pull/22146
web
-
github.com
/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce
web
-
github.com
/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558
web
-
github.com
/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b
web
-
github.com
/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9
web
-
github.com
/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8
web
-
github.com
/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd
web
-
camel.apache.org
/security/CVE-2026-40858.html
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:22453
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:17668
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-40858
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2463179
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-40858.json
-
nvd.nist.gov
/vuln/detail/CVE-2026-40858
advisory
-
github.com
/apache/camel
web
-
issues.apache.org
/jira/browse/CAMEL-23222
web
Sources
- CVE List CVE-2026-40858
- GitHub Advisory GHSA-4xwx-hvv7-7prj
- NVD CVE-2026-40858
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.