# CVE-2026-43865: Apache Camel: Camel-Hazelcast: Unsafe Java deserialization in default-configured managed Hazelcast instances enables remote code execution

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.98% (percentile 61, 2026-11-26)
- **CWE:** CWE-502
- **Aliases:** GHSA-xww8-mxqw-m84w
- **Published:** 2026-07-06T07:55:26.650Z
- **Modified:** 2026-10-25T15:10:00.147Z

## Who should check

- Projects that depend on Maven package org.apache.camel:camel-hazelcast (\>= 4.0.0, \< 4.14.8)
- Anyone running Apache Software Foundation Apache Camel \>= 4.0.0, \< 4.14.8; \>= 4.15.0, \< 4.18.3; \>= 4.19.0, \< 4.21.0

## Description

Deserialization of Untrusted Data vulnerability in Apache Camel Hazelcast component.

The camel-hazelcast component creates and manages Hazelcast instances using a default configuration that applies no Java deserialization filter. When Camel builds the Hazelcast Config itself - that is, when no user-supplied HazelcastInstance, hazelcastConfigUri, or referenced Config bean is provided - neither Hazelcast's JavaSerializationFilterConfig nor a Camel-side ObjectInputFilter is configured, so objects received over the Hazelcast cluster protocol are deserialized inside Hazelcast's own serialization layer (ObjectInputStream.readObject) before Camel ever processes them. An attacker who can join or otherwise reach the Hazelcast cluster can publish a crafted serialized Java object that is then deserialized on every Camel node, resulting in remote code execution. The exposure is present by default and requires no opt-in endpoint configuration: any route using a hazelcast consumer (hazelcast-topic, hazelcast-queue, hazelcast-seda, hazelcast-map, hazelcast-multimap, hazelcast-replicatedmap, hazelcast-list, hazelcast-set), as well as the HazelcastAggregationRepository and HazelcastIdempotentRepository, is affected whenever the managed instance is created from Camel's default configuration.
This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0.

Users are recommended to upgrade to version 4.21.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.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix makes Camel apply a default Hazelcast JavaSerializationFilterConfig (whitelisting the java., javax. and org.apache.camel. class-name prefixes and blacklisting java.net.) to instances it creates from its own default configuration, while leaving any user-supplied Config or HazelcastInstance untouched. For deployments that cannot upgrade immediately, configure a deserialization filter on the Hazelcast instance (Hazelcast JavaSerializationFilterConfig, or the JVM-wide system property -Djdk.serialFilter=!java.net.\*\*;java.\*\*;javax.\*\*;org.apache.camel.\*\*;!\*) and enable Hazelcast cluster authentication and TLS to restrict who can reach the cluster.

## Affected and fixed versions

- Maven `org.apache.camel:camel-hazelcast`: affected \>= 4.0.0, \< 4.14.8; fixed 4.14.8, 4.18.3, 4.21.0 (osv)
- Apache Software Foundation Apache Camel: \>= 4.0.0, \< 4.14.8; \>= 4.15.0, \< 4.18.3; \>= 4.19.0, \< 4.21.0 (cvelist)

## Mitigation

- Upgrade org.apache.camel:camel-hazelcast to one of 4.14.8, 4.18.3, 4.21.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43865. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43865.md
Affected: org.apache.camel:camel-hazelcast >= 4.0.0, < 4.14.8
Fixed in: 4.14.8, 4.18.3, 4.21.0

Steps:
1. Search this machine and project for org.apache.camel:camel-hazelcast (Maven), Apache Software Foundation Apache Camel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43865 being exploited?

There is no confirmed exploitation: CVE-2026-43865 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43865?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-43865?

org.apache.camel:camel-hazelcast \>= 4.0.0, \< 4.14.8.

### Is there a fix for CVE-2026-43865?

Yes. Fixed in 4.14.8, 4.18.3, 4.21.0. Upgrade org.apache.camel:camel-hazelcast to one of 4.14.8, 4.18.3, 4.21.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-43865?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://camel.apache.org/security/CVE-2026-43865.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-43865>
- patch: <https://github.com/apache/camel/pull/22943>
- patch: <https://github.com/apache/camel/pull/22946>
- patch: <https://github.com/apache/camel/pull/22955>
- patch: <https://github.com/apache/camel/commit/5caf4368551f6d3b61690d5db03869491390d446>
- patch: <https://github.com/apache/camel/commit/7a309042f22493082647a410d9d8cafd672b1c74>
- patch: <https://github.com/apache/camel/commit/974a11b5ed5e2d50722f33aa48f61898395ea45b>
- other: <http://www.openwall.com/lists/oss-security/2026/07/05/5>
- other: <https://github.com/apache/camel>
- other: <https://github.com/apache/camel/releases/tag/camel-4.14.8>
- other: <https://github.com/apache/camel/releases/tag/camel-4.18.3>
- other: <https://github.com/apache/camel/releases/tag/camel-4.21.0>
- other: <https://issues.apache.org/jira/browse/CAMEL-23414>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43865>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xww8-mxqw-m84w> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-43865> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43865>
