WaratekVRT Sign in

CVE-2026-43865 Apache Camel

Affected softwareApache Camel
Severity8.1 High CVSS 3.1
Fixed in4.14.8, 4.18.3, 4.21.0
WeaknessDeserialization of untrusted data (CWE-502)
Published6 Jul 2026
Updated25 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 0.98% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Reproducer for CVE-2026-43865 — Apache Camel camel-hazelcast default-configured instance unsafe Java deserialization (RCE) 2026-07-12

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2026-43865

Upgrade Apache Camel to a release that fixes it: 4.14.8, 4.18.3 or 4.21.0. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.camel:camel-hazelcast 4.0.0 4.14.8 unbounded
org.apache.camel:camel-hazelcast 4.15.0 4.18.3 unbounded
org.apache.camel:camel-hazelcast 4.19.0 4.21.0 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache camel generic ≥ 4.0.0 and < 4.14.8 · ≥ 4.15.0 and < 4.18.3 · ≥ 4.19.0 and < 4.21.0
osv org.apache.camel camel-hazelcast generic ≥ 4.0.0 and < 4.14.8 · ≥ 4.15.0 and < 4.18.3 · ≥ 4.19.0 and < 4.21.0

References

URLTags
https://github.com/apache/camel/pull/22943 WEB
https://github.com/apache/camel/pull/22946 WEB
https://github.com/apache/camel/pull/22955 WEB
https://github.com/apache/camel/commit/5caf4368551f6d3b61690d5db03869491390d446 WEB
https://github.com/apache/camel/commit/7a309042f22493082647a410d9d8cafd672b1c74 WEB
https://github.com/apache/camel/commit/974a11b5ed5e2d50722f33aa48f61898395ea45b WEB
https://camel.apache.org/security/CVE-2026-43865.html WEB
https://github.com/apache/camel PACKAGE
https://github.com/apache/camel/releases/tag/camel-4.14.8 WEB
https://github.com/apache/camel/releases/tag/camel-4.18.3 WEB

Timeline

Published2026-07-06By the CVE Program.
NVD record modified2026-10-25NVD's own last-modified date for this record.