Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Java

CVE-2026-78162 — Apache Software Foundation Apache Camel

Critical · CVSS 10.0EPSS 1.8% First seen October 19, 2026
Java.NETApacheWebVulnerabilitiesEndpoint security

Summary

Deserialization of Untrusted Data vulnerability in Apache Camel. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. The camel-hazelcast component applies a default Hazelcast JavaSerializationFilterConfig to the instances it creates from its own configuration, a protection introduced by CVE-2026-43865. That change did not reach two of the configuration paths Camel builds itself, so those paths continued to create Hazelcast instances whose Java deserialization is unrestricted. ReplicatedHazelcastAggregationRepository extends HazelcastAggregationRepository but overrides doStart() without calling super.doStart(), keeping its own copy of the bootstrap block, and therefore never received the filter: a route using it without supplying a hazelcastInstance starts a Hazelcast member that deserializes values read from the backing ReplicatedMap with no class restriction. HazelcastDefaultComponent#getOrCreateHzClientInstance() builds its own ClientConfig when hazelcastMode=client is selected and neither a referenced ClientConfig nor hazelcastConfigUri is supplied, and likewise applied no filter, so client-mode endpoints behaved differently from node-mode endpoints for an otherwise identical configuration. In both cases an attacker able to publish into the Hazelcast cluster that the affected instance is attached to can cause a serialized Java object of their choosing to be deserialized inside Hazelcast's own serialization layer, before Camel processes the exchange, resulting in remote code execution. Hazelcast clusters have neither authentication nor TLS enabled by default. Selecting client mode is a topology choice rather than a security option, so neither path required the deployment to opt in to unsafe behaviour. Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and earlier reached end of life before this issue was resolved and will not receive a fix, so deployments on those lines must move to a supported release. For deployments that cannot upgrade immediately, supply an explicit Hazelcast configuration carrying a JavaSerializationFilterConfig, or inject a pre-built HazelcastInstance, since a user-supplied configuration is never overwritten by Camel. Alternatively set the JVM-wide filter -Djdk.serialFilter=!java.net.;java.;javax.;org.apache.camel.;!* and enable Hazelcast cluster authentication and TLS to restrict who can reach the cluster.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 10.0 CVSS 4.0 base score from the CNA (apache.org)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
no
Impact
high on confidentiality, integrity and availability
Impact on other systems
high on confidentiality, integrity and availability

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 9.8 from NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness

  • CWE-502: Deserialization of Untrusted Data

Affected and fixed versions

ProductAffected versionsFixed in
Apache Software Foundation Apache Camel≥ 4.0.0, < 4.18.54.18.5
≥ 4.19.0, < 4.22.14.22.1

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Details from NVD (public domain).

Affected

  • Apache Software Foundation Apache Camel

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-78162?

Deserialization of Untrusted Data vulnerability in Apache Camel. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. The camel-hazelcast component applies a default Hazelcast JavaSerializationFilterConfig to the instances it creates from its own configuration, a protection introduced by CVE-2026-43865. Weakness type: Deserialization of Untrusted Data (CWE-502).

How severe is CVE-2026-78162?

CVE-2026-78162 has a CVSS 4.0 base score of 10.0 (critical), from the CNA (apache.org). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-78162 being exploited?

Not as far as is known: CVE-2026-78162 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 1.8% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-78162?

Apache Software Foundation Apache Camel ≥ 4.0.0, < 4.18.5 (fixed in 4.18.5); Apache Software Foundation Apache Camel ≥ 4.19.0, < 4.22.1 (fixed in 4.22.1).

How do I fix CVE-2026-78162?

Update to a fixed release: Apache Software Foundation Apache Camel 4.18.5; Apache Software Foundation Apache Camel 4.22.1.

Timeline & sources

References

Related vulnerabilities & news