Skip to content
EXYS
Back to the CVEs

CVE-2026-78162

9.8, critical

Apache Software Foundation Apache Camel Deserialization of Untrusted Data Vulnerability

CVSS
9.8, critical critical CVSS v3.1
EPSS, next 30 days
0.9% higher than 60.2% of scored CVEs
Exploitation
No public evidence
Published
19 Oct 202616 days ago

Description

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.

Details

Vendor
Apache Software Foundation
Product
Apache Camel
Weakness
CWE-502 (opens in a new tab)
Status
Analyzed
Updated
3 Nov 2026
Assigner
security@apache.org

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References 8

The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.

Other Apache Software Foundation CVEs

Every Apache Software Foundation CVE we hold

Same vendor in what we hold, not a known link between the flaws.

  • CVE-2026-64618 Apache Software Foundation Apache Fineract SQL Injection Vulnerability EPSS 0.6% 9.8, critical
  • CVE-2026-65874 Apache Software Foundation Apache Fineract SQL Injection Vulnerability EPSS 0.6% 8.8, high
  • CVE-2026-79983 Apache Software Foundation Apache Camel Path Traversal Vulnerability EPSS 0.7% 9.1, critical
  • CVE-2026-79986 Apache Software Foundation Apache Camel Path Traversal Vulnerability EPSS 0.6% 9.1, critical
  • CVE-2026-92414 Apache Software Foundation Apache Jackrabbit Session Fixation Vulnerability EPSS 0.7% 9.1, critical
  • CVE-2026-104714 Apache Software Foundation Apache Struts Race Condition Vulnerability EPSS 0.5% 8.8, high
  • CVE-2026-86089 Apache Software Foundation Apache NiFi Missing Authorization Vulnerability EPSS 0.4% 7.1, high
  • CVE-2026-87976 Apache Software Foundation Apache NiFi Registry Path Traversal Vulnerability EPSS 0.8% 8.1, high

Beyond this page

Is CVE-2026-78162 in your network?

This page tells you how dangerous CVE-2026-78162 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.

  • EXYS7600 OCELOT

    Find it before attackers do

    Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-78162 comes with the devices to patch.

    Learn more about EXYS7600 OCELOT
  • EXYS7950 KONDRA

    Detect it if it's exploited

    Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.

    Learn more about EXYS7950 KONDRA
Check your exposure

Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 4 Nov 2026, not the live upstream state.