Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel | 4.0.0 to before 4.14.7; 4.15.0 to before 4.18.2; 4.19.0 to before 4.20.0 | 4.14.7, 4.18.2, 4.20.0 | Patch available | CNA |
| — | org.apache.camel:camel-infinispan (Maven) | 4.0.0 to before 4.14.7 | 4.14.7 | Patch available | GHSA-4xwx-hvv7-7prj |
| — | org.apache.camel:camel-infinispan (Maven) | 4.15.0 to before 4.18.2 | 4.18.2 | Patch available | GHSA-4xwx-hvv7-7prj |
| — | org.apache.camel:camel-infinispan (Maven) | 4.19.0 to before 4.20.0 | 4.20.0 | Patch available | GHSA-4xwx-hvv7-7prj |
- Apache Camel VendorApache Affected 4.0.0 to before 4.14.7; 4.15.0 to before 4.18.2; 4.19.0 to before 4.20.0 Fixed in 4.14.7, 4.18.2, 4.20.0 Patch available CNA
- org.apache.camel:camel-infinispan (Maven) Vendor— Affected 4.0.0 to before 4.14.7 Fixed in 4.14.7 Patch available GHSA-4xwx-hvv7-7prj
- org.apache.camel:camel-infinispan (Maven) Vendor— Affected 4.15.0 to before 4.18.2 Fixed in 4.18.2 Patch available GHSA-4xwx-hvv7-7prj
- org.apache.camel:camel-infinispan (Maven) Vendor— Affected 4.19.0 to before 4.20.0 Fixed in 4.20.0 Patch available GHSA-4xwx-hvv7-7prj
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.14.7, 4.18.2, 4.20.0
- Fix · GHSA-4xwx-hvv7-7prj org.apache.camel:camel-infinispan (Maven) Fixed in 4.14.7 Advisory →
- Fix · GHSA-4xwx-hvv7-7prj org.apache.camel:camel-infinispan (Maven) Fixed in 4.18.2 Advisory →
- Fix · GHSA-4xwx-hvv7-7prj org.apache.camel:camel-infinispan (Maven) Fixed in 4.20.0 Advisory →
Red Hat 2 advisories
- RHSA-2026:22453 Released 2026-06-02 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18 for Quarkus 3.33 update is now available (RHBQ 3.33.1.GA)
- Red Hat Build of Apache Camel 4.18 for Quarkus 3.33
- RHSA-2026:17668 Released 2026-05-14 · Red Hat rating CriticalRed Hat Build of Apache Camel 4.18.1 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Camel 4.14.7, 4.18.2, 4.20.0
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2026-29517 Apache Camel: Unsafe Deserialization of JMS ObjectMessage in camel-jms, camel-sjms, camel-sjms2 and camel-amqpPriority MEDIUM 52
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet |
| Red Hat Build of Apache Camel 4.18 for Quarkus 3.33 | Fixed | RHSA-2026:22453 |
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | Fixed | RHSA-2026:17668 |
Not affected: 3 products
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40858
- 2026-10-03 Alias added: GHSA-4xwx-hvv7-7prj
- 2026-10-09 Fix available: RHSA-2026:22453 · Red Hat
- 2026-10-10 Fix available: Red Hat Build of Apache Camel 4.18 for Quarkus 3.33 · Red Hat
References
Advisory 2
Other 15
- https://github.com/apache/camel/pull/22152
- https://github.com/apache/camel/pull/22151
- https://github.com/apache/camel/pull/22150
- https://github.com/apache/camel/pull/22149
- https://github.com/apache/camel/pull/22148
- https://github.com/apache/camel/pull/22147
- https://github.com/apache/camel/pull/22146
- https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce
- https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558
- https://github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b
- https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9
- https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8
- https://github.com/apache/camel/commit/0307dd4709a8136eba3206701004bcb528bc47fd
- https://github.com/apache/camel
- https://issues.apache.org/jira/browse/CAMEL-23222
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-40858 · CVE Program
- CVE-2026-40858 · NVD
- FIRST EPSS
- GHSA-4xwx-hvv7-7prj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40858 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences