How to Fix CVE-2026-40858: Apache Camel (Bundle Sibling)
By Sai Kiran Pandrala
Last verified: 2026-05-25
CVE-2026-40858 is a sibling vulnerability in the same vendor advisory as CVE-2026-27172. Applying the patched build named in the primary write-up closes this CVE as well.
| Severity | CVSS 8.8 - High |
|---|---|
| Actively exploited? | Not currently in CISA KEV |
| Affected | Same as the bundle - see CVE-2026-27172 |
| Fixed in | Same patched build as CVE-2026-27172 (See vendor advisory) |
| Type (CWE) | CWE-502: CWE-502 Deserialization of Untrusted Data |
What's different about CVE-2026-40858?
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.
The technical impact and remediation are identical to the primary CVE in the bundle. The same vendor patch closes both.
How to fix CVE-2026-40858
Apply the patched build per the primary write-up: How to Fix CVE-2026-27172.
The patch installation procedure, verification commands, and interim mitigations are documented there. Reusing one runbook keeps the rollout consistent across the bundle.
Frequently asked questions
Is CVE-2026-40858 fixed by the same patch as CVE-2026-27172?
Yes. CVE-2026-40858 ships in the same vendor advisory as CVE-2026-27172. Applying the patched build named in the primary write-up closes both.
What is the CVSS score for CVE-2026-40858?
The CVSS base score is 8.8 (High).
Is it being exploited?
It is not currently listed in CISA KEV.
References
- Official vendor advisory: https://camel.apache.org/security/CVE-2026-40858.html
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-40858
- CISA KEV catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- Primary write-up: How to Fix CVE-2026-27172
*Part of the Apache Camel bundle. Full procedure at CVE-2026-27172.*